aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-12-27 09:59:42 +0100
committerMarc Alexander <admin@m-a-styles.de>2018-12-27 09:59:42 +0100
commit220490e4db0c1d35860905ac1541c4b573ff3821 (patch)
tree235a8cd9b186b4bc4db1daba9e0ca50c75a01284 /phpBB/phpbb/user.php
parentMerge pull request #5474 from mrgoldy/ticket/15901 (diff)
parent[ticket/15509] Don't show disabled board when in install (diff)
downloadphpbb-220490e4db0c1d35860905ac1541c4b573ff3821.tar.gz
phpbb-220490e4db0c1d35860905ac1541c4b573ff3821.tar.bz2
phpbb-220490e4db0c1d35860905ac1541c4b573ff3821.zip
Merge pull request #5359 from Elsensee/ticket/15509
[ticket/15509] Don't show disabled board when in install
Diffstat (limited to 'phpBB/phpbb/user.php')
-rw-r--r--phpBB/phpbb/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/user.php b/phpBB/phpbb/user.php
index ca0e5872e4..7363290e11 100644
--- a/phpBB/phpbb/user.php
+++ b/phpBB/phpbb/user.php
@@ -343,7 +343,7 @@ class user extends \phpbb\session
}
// Is board disabled and user not an admin or moderator?
- if ($config['board_disable'] && !defined('IN_LOGIN') && !defined('SKIP_CHECK_DISABLED') && !$auth->acl_gets('a_', 'm_') && !$auth->acl_getf_global('m_'))
+ if ($config['board_disable'] && !defined('IN_INSTALL') && !defined('IN_LOGIN') && !defined('SKIP_CHECK_DISABLED') && !$auth->acl_gets('a_', 'm_') && !$auth->acl_getf_global('m_'))
{
if ($this->data['is_bot'])
{