From 9e5c25504e275d8de071f2efafa349ebee21063c Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Wed, 24 Jan 2007 11:29:56 +0000 Subject: - 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 --- phpBB/includes/functions_user.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'phpBB/includes/functions_user.php') 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(); -- cgit v1.2.1