diff options
| author | Chris Smith <toonarmy@phpbb.com> | 2008-09-27 11:45:30 +0000 |
|---|---|---|
| committer | Chris Smith <toonarmy@phpbb.com> | 2008-09-27 11:45:30 +0000 |
| commit | c439b286e95b7d12b7c633cb4991e630d430e2ee (patch) | |
| tree | 65e3735931afeb265e6d2749b3d7925951693b29 /phpBB/includes/functions_user.php | |
| parent | 0b6dd99a76822644c607522ab8d7d2e3b407cbef (diff) | |
| download | forums-c439b286e95b7d12b7c633cb4991e630d430e2ee.tar forums-c439b286e95b7d12b7c633cb4991e630d430e2ee.tar.gz forums-c439b286e95b7d12b7c633cb4991e630d430e2ee.tar.bz2 forums-c439b286e95b7d12b7c633cb4991e630d430e2ee.tar.xz forums-c439b286e95b7d12b7c633cb4991e630d430e2ee.zip | |
Merge in r8940, r8941, r8942, r8945, r8946, r8947, r8949, r8950, r8951
git-svn-id: file:///svn/phpbb/trunk@8952 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 a39638bbf2..bba55b4bfe 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -938,7 +938,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... |
