mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
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:
parent
51f8aa7d1a
commit
13006a5e44
1 changed files with 2 additions and 3 deletions
|
@ -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) )
|
||||||
|
|
Loading…
Add table
Reference in a new issue