mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +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";
|
WHERE forum_id = $forum_id";
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
if (!extract($db->sql_fetchrow($result)))
|
if (!($row = $db->sql_fetchrow($result)))
|
||||||
{
|
{
|
||||||
trigger_error($user->lang['NO_FORUM']);
|
trigger_error($user->lang['NO_FORUM']);
|
||||||
}
|
}
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
|
extract($row);
|
||||||
$forum_info = array($forum_id => $row);
|
$forum_info = array($forum_id => $row);
|
||||||
|
|
||||||
// Get the adjacent forum
|
// Get the adjacent forum
|
||||||
|
Reference in New Issue
Block a user