mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
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:
parent
2383505c41
commit
2a6c0cf41b
1 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Reference in a new issue