aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-01-24 11:29:56 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-01-24 11:29:56 +0000
commit9e5c25504e275d8de071f2efafa349ebee21063c (patch)
tree86d37c1ed2b20eca9575084be7668d7b32dcf644 /phpBB/includes/functions_user.php
parent180a5a243d03803fef0d32a6aaa2d6899a83dfcc (diff)
downloadforums-9e5c25504e275d8de071f2efafa349ebee21063c.tar
forums-9e5c25504e275d8de071f2efafa349ebee21063c.tar.gz
forums-9e5c25504e275d8de071f2efafa349ebee21063c.tar.bz2
forums-9e5c25504e275d8de071f2efafa349ebee21063c.tar.xz
forums-9e5c25504e275d8de071f2efafa349ebee21063c.zip
- added confirm box to ucp zebra (adding fried/foe)
- permission fixes for conversions - use more appropiate error message within convertor if source tables could not be found - other tiny fixes git-svn-id: file:///svn/phpbb/trunk@6925 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 7cceda0dd2..e9297d490f 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -825,6 +825,9 @@ function user_ban($mode, $ban, $ban_len, $ban_len_other, $ban_exclude, $ban_reas
AND ban_exclude = $ban_exclude";
$result = $db->sql_query($sql);
+ // Reset $sql_where, because we use it later...
+ $sql_where = '';
+
if ($row = $db->sql_fetchrow($result))
{
$banlist_ary_tmp = array();