mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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:
parent
142f32d554
commit
029ecff8f8
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue