diff options
author | Chris Smith <toonarmy@phpbb.com> | 2008-09-26 21:29:05 +0000 |
---|---|---|
committer | Chris Smith <toonarmy@phpbb.com> | 2008-09-26 21:29:05 +0000 |
commit | 92c759456d95df22f3179c5628ac723c56020758 (patch) | |
tree | edce37cbbc336135d2412df95e3f3f9866257836 /phpBB/includes/functions_user.php | |
parent | abff17ba87c95630dd9f3b84c409e6b899bac252 (diff) | |
download | forums-92c759456d95df22f3179c5628ac723c56020758.tar forums-92c759456d95df22f3179c5628ac723c56020758.tar.gz forums-92c759456d95df22f3179c5628ac723c56020758.tar.bz2 forums-92c759456d95df22f3179c5628ac723c56020758.tar.xz forums-92c759456d95df22f3179c5628ac723c56020758.zip |
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
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r-- | phpBB/includes/functions_user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index c6b5018f01..ea62a75306 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -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... |