aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2004-08-01 21:01:23 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2004-08-01 21:01:23 +0000
commit2a6c0cf41b6a6ef616eaafcf71fedc4fe9596154 (patch)
tree4a540e5fec1680bf52a40a6361b13f960a27a36d
parent2383505c410ad37e669e382a6ec76dfa07250098 (diff)
downloadforums-2a6c0cf41b6a6ef616eaafcf71fedc4fe9596154.tar
forums-2a6c0cf41b6a6ef616eaafcf71fedc4fe9596154.tar.gz
forums-2a6c0cf41b6a6ef616eaafcf71fedc4fe9596154.tar.bz2
forums-2a6c0cf41b6a6ef616eaafcf71fedc4fe9596154.tar.xz
forums-2a6c0cf41b6a6ef616eaafcf71fedc4fe9596154.zip
Fix failure to work at all ... need to introduce error handling for failure to match entered email address
git-svn-id: file:///svn/phpbb/trunk@4948 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/adm/admin_ban.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/phpBB/adm/admin_ban.php b/phpBB/adm/admin_ban.php
index 27b8cde70f..ceeaac724e 100644
--- a/phpBB/adm/admin_ban.php
+++ b/phpBB/adm/admin_ban.php
@@ -7,8 +7,8 @@
// STARTED : Tue Jul 31, 2001
// COPYRIGHT : © 2001,2003 phpBB Group
// WWW : http://www.phpbb.com/
-// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
-//
+// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
+//
// -------------------------------------------------------------
if (!empty($setmodules))
@@ -31,6 +31,7 @@ define('IN_PHPBB', 1);
$phpbb_root_path = '../';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
require('pagestart.' . $phpEx);
+include($phpbb_root_path . 'includes/functions_user.'.$phpEx);
// Do we have ban permissions?
if (!$auth->acl_get('a_ban'))
@@ -265,7 +266,7 @@ function display_details(option)
</tr>
<?php
- if ($banned_options != '')
+ if ($banned_options)
{
?>