diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-12-03 16:12:03 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-12-03 16:12:03 +0000 |
commit | 2b4525ae97dc0ab6d7d9391fe4c126bdf7d15dbb (patch) | |
tree | 9059e10d2d5c9fdedd58776f323f6ebe58601a20 /phpBB/includes/functions.php | |
parent | e08317eb7132692ab93115d47e78b4841909c07c (diff) | |
download | forums-2b4525ae97dc0ab6d7d9391fe4c126bdf7d15dbb.tar forums-2b4525ae97dc0ab6d7d9391fe4c126bdf7d15dbb.tar.gz forums-2b4525ae97dc0ab6d7d9391fe4c126bdf7d15dbb.tar.bz2 forums-2b4525ae97dc0ab6d7d9391fe4c126bdf7d15dbb.tar.xz forums-2b4525ae97dc0ab6d7d9391fe4c126bdf7d15dbb.zip |
some tiny bugfixes.
git-svn-id: file:///svn/phpbb/trunk@6702 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 43d6b862ff..e975469685 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -3363,7 +3363,7 @@ function page_header($page_title = '', $display_online_list = true) 'U_RESTORE_PERMISSIONS' => ($user->data['user_perm_from'] && $auth->acl_get('a_switchperm')) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=restore_perm') : '', 'S_USER_LOGGED_IN' => ($user->data['user_id'] != ANONYMOUS) ? true : false, - 'S_BOARD_DISABLED' => ($config['board_disable'] && !defined('IN_LOGIN') && !$auth->acl_gets('a_', 'm_')) ? true : false, + 'S_BOARD_DISABLED' => ($config['board_disable']) ? true : false, 'S_REGISTERED_USER' => $user->data['is_registered'], 'S_IS_BOT' => $user->data['is_bot'], 'S_USER_PM_POPUP' => $user->optionget('popuppm'), |