Welcome Guest, Not a member yet? Register   Sign In
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



Theme © iAndrew 2016 - Forum software by © MyBB