diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-05-04 06:54:43 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-05-04 06:54:43 +0000 |
commit | 9a9a9ff6f3d4442ca7e3d1270bf137006c5bcdfc (patch) | |
tree | 174006c7645f2ef9da727d84da1541a620cd6923 /phpBB/includes/functions_user.php | |
parent | 9a0ad16272ccb461a5864b2a0cd8aa8f769ffdad (diff) | |
download | forums-9a9a9ff6f3d4442ca7e3d1270bf137006c5bcdfc.tar forums-9a9a9ff6f3d4442ca7e3d1270bf137006c5bcdfc.tar.gz forums-9a9a9ff6f3d4442ca7e3d1270bf137006c5bcdfc.tar.bz2 forums-9a9a9ff6f3d4442ca7e3d1270bf137006c5bcdfc.tar.xz forums-9a9a9ff6f3d4442ca7e3d1270bf137006c5bcdfc.zip |
- 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
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 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': |