mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Small language fix (#32795) and tiny bug fix
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8949 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -939,7 +939,7 @@ function user_ban($mode, $ban, $ban_len, $ban_len_other, $ban_exclude, $ban_reas
|
||||
$sql = "SELECT $type
|
||||
FROM " . BANLIST_TABLE . "
|
||||
WHERE $sql_where
|
||||
AND ban_exclude = $ban_exclude";
|
||||
AND ban_exclude = " . (int) $ban_exclude;
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
// Reset $sql_where, because we use it later...
|
||||
|
Reference in New Issue
Block a user