mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
Merge branch '3.3.x'
This commit is contained in:
commit
3ff9d24935
1 changed files with 3 additions and 1 deletions
|
@ -1045,13 +1045,15 @@ function user_ban($mode, $ban, $ban_len, $ban_len_other, $ban_exclude, $ban_reas
|
||||||
$banlist_ary[] = (int) $row['user_id'];
|
$banlist_ary[] = (int) $row['user_id'];
|
||||||
}
|
}
|
||||||
while ($row = $db->sql_fetchrow($result));
|
while ($row = $db->sql_fetchrow($result));
|
||||||
|
|
||||||
|
$db->sql_freeresult($result);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
trigger_error('NO_USERS', E_USER_WARNING);
|
trigger_error('NO_USERS', E_USER_WARNING);
|
||||||
}
|
}
|
||||||
$db->sql_freeresult($result);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'ip':
|
case 'ip':
|
||||||
|
|
Loading…
Add table
Reference in a new issue