includes/namespaces/default.php
changeset 997 07a26bd567a5
parent 980 d13fad911955
child 1042 13ad9c1cb7d4
--- a/includes/namespaces/default.php	Fri May 15 20:14:36 2009 -0400
+++ b/includes/namespaces/default.php	Fri May 15 20:23:49 2009 -0400
@@ -639,7 +639,7 @@
       $counter = 0;
       $switched = false;
       $class  = 'row1';
-      while ( $row = $db->fetchrow() )
+      while ( $row = $db->fetchrow($q) )
       {
         if ( $row['is_category'] == 0 && !$switched )
         {