mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
Quick fix for re-ordering problem
git-svn-id: file:///svn/phpbb/trunk@4665 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -557,12 +557,13 @@ switch ($mode)
|
||||
WHERE forum_id = $forum_id";
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
if (!extract($db->sql_fetchrow($result)))
|
||||
if (!($row = $db->sql_fetchrow($result)))
|
||||
{
|
||||
trigger_error($user->lang['NO_FORUM']);
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
extract($row);
|
||||
$forum_info = array($forum_id => $row);
|
||||
|
||||
// Get the adjacent forum
|
||||
|
Reference in New Issue
Block a user