• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DMZ 1054 problem

#2
[eluser]rootman[/eluser]
Okay, found the solution myself:

I called 2 functions on $n, first one was a count(), second one a get() with offset. So i had to add the where_related part twice in my script cause count() clears out the query. The problem is, the second time you apply where_related() it misses the join parts and so there is no table category and no field id.

SOLUTION:
make a new object!

or clear out the old one, i dont know if there is a reset function, but i think there is.


Messages In This Thread
DMZ 1054 problem - by El Forum - 01-02-2010, 01:36 PM
DMZ 1054 problem - by El Forum - 01-02-2010, 02:03 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.