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
This commit is contained in:
Paul S. Owen 2004-08-01 21:01:23 +00:00
parent 2383505c41
commit 2a6c0cf41b

View file

@ -31,6 +31,7 @@ define('IN_PHPBB', 1);
$phpbb_root_path = '../'; $phpbb_root_path = '../';
$phpEx = substr(strrchr(__FILE__, '.'), 1); $phpEx = substr(strrchr(__FILE__, '.'), 1);
require('pagestart.' . $phpEx); require('pagestart.' . $phpEx);
include($phpbb_root_path . 'includes/functions_user.'.$phpEx);
// Do we have ban permissions? // Do we have ban permissions?
if (!$auth->acl_get('a_ban')) if (!$auth->acl_get('a_ban'))
@ -265,7 +266,7 @@ function display_details(option)
</tr> </tr>
<?php <?php
if ($banned_options != '') if ($banned_options)
{ {
?> ?>