From 9a9a9ff6f3d4442ca7e3d1270bf137006c5bcdfc Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Thu, 4 May 2006 06:54:43 +0000 Subject: - fixed ul/li margin - fixed [code=php] tag (tags got mangled on edit) - fixed a tiny issue within the ban function git-svn-id: file:///svn/phpbb/trunk@5875 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/functions_user.php') diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 6ac71e86db..b722549720 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -577,7 +577,7 @@ function user_ban($mode, $ban, $ban_len, $ban_len_other, $ban_exclude, $ban_reas switch ($mode) { case 'user': - $sql_where = 'WHERE session_user_id IN (' . implode(', ', $banlist_ary) . ')'; + $sql_where = (in_array('*', $banlist_ary)) ? '' : 'WHERE session_user_id IN (' . implode(', ', $banlist_ary) . ')'; break; case 'ip': -- cgit v1.2.1