diff -r 914273203298 -r 07a26bd567a5 includes/namespaces/default.php --- 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 ) {