aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-09-04 13:47:56 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-09-04 13:47:56 +0000
commit8c567e8c68a3106c94c140f732904b7b5b6eab1a (patch)
tree4deecc63204f9d39863165f26deb468541f54c19 /phpBB/includes/functions.php
parent5ea461108e2ddf10b72acbc1a79df01af5ec5d81 (diff)
downloadforums-8c567e8c68a3106c94c140f732904b7b5b6eab1a.tar
forums-8c567e8c68a3106c94c140f732904b7b5b6eab1a.tar.gz
forums-8c567e8c68a3106c94c140f732904b7b5b6eab1a.tar.bz2
forums-8c567e8c68a3106c94c140f732904b7b5b6eab1a.tar.xz
forums-8c567e8c68a3106c94c140f732904b7b5b6eab1a.zip
- fixing profile bug
- adjusting acl_gets calls (they are or'd - make sure they get checked correctly based on the situation) - automatically assign the u_download and u_search permission to the guest group git-svn-id: file:///svn/phpbb/trunk@6351 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 3278a54619..0838d647e3 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -3142,7 +3142,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'] && !defined('IN_LOGIN') && !$auth->acl_gets('a_', 'm_')) ? true : false,
'S_REGISTERED_USER' => $user->data['is_registered'],
'S_IS_BOT' => $user->data['is_bot'],
'S_USER_PM_POPUP' => $user->optionget('popuppm'),