missing concat operator ...

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3258 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2003-01-05 02:36:00 +00:00
parent 51f8aa7d1a
commit 13006a5e44

View file

@ -692,7 +692,7 @@ if( !empty($mode) )
$user_ids = ''; $user_ids = '';
do do
{ {
$user_ids = (($user_ids != '') ? ', ' : '' ) . $row['user_id']; $user_ids .= (($user_ids != '') ? ', ' : '' ) . $row['user_id'];
} }
while ($row = $db->sql_fetchrow($result)); while ($row = $db->sql_fetchrow($result));
@ -712,7 +712,7 @@ if( !empty($mode) )
$user_ids = ''; $user_ids = '';
do do
{ {
$user_ids = (($user_ids != '') ? ', ' : '' ) . $row['user_id']; $user_ids .= (($user_ids != '') ? ', ' : '' ) . $row['user_id'];
} }
while ($row = $db->sql_fetchrow($result2)); while ($row = $db->sql_fetchrow($result2));
@ -727,7 +727,6 @@ if( !empty($mode) )
} }
$db->sql_freeresult($result2); $db->sql_freeresult($result2);
$sql = "DELETE FROM " . FORUMS_TABLE . " $sql = "DELETE FROM " . FORUMS_TABLE . "
WHERE forum_id = $from_id"; WHERE forum_id = $from_id";
if( !$result = $db->sql_query($sql) ) if( !$result = $db->sql_query($sql) )