mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
ok, bugfixing phase #1 finished. There will be more bugfixes coming and those knowing CVS/php/mysql are encouraged to implement the fixes. ;)
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5204 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -119,7 +119,10 @@ if( !($result = $db->sql_query($sql)) )
|
||||
}
|
||||
|
||||
$category_rows = array();
|
||||
while( $category_rows[] = $db->sql_fetchrow($result) );
|
||||
while ($row = $db->sql_fetchrow($result))
|
||||
{
|
||||
$category_rows[] = $row;
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
if( ( $total_categories = count($category_rows) ) )
|
||||
|
Reference in New Issue
Block a user