1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +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:
Paul S. Owen
2003-11-13 16:13:08 +00:00
parent 142f32d554
commit 029ecff8f8

View File

@@ -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