aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/user.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-05-20 17:31:53 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-05-29 02:14:44 +0200
commit67281199be8e796ed7bf50e6d6db0f36cff89428 (patch)
tree78d12f6debb66ba373f5d5ddf01fca2d4482ea75 /phpBB/phpbb/user.php
parentc5a51efd2084f687eea17c93d95f1e13c7496d58 (diff)
downloadforums-67281199be8e796ed7bf50e6d6db0f36cff89428.tar
forums-67281199be8e796ed7bf50e6d6db0f36cff89428.tar.gz
forums-67281199be8e796ed7bf50e6d6db0f36cff89428.tar.bz2
forums-67281199be8e796ed7bf50e6d6db0f36cff89428.tar.xz
forums-67281199be8e796ed7bf50e6d6db0f36cff89428.zip
[ticket/10073] Make contact page available when board is disabled
PHPBB3-10073
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 f4cc26cc9a..4e90044395 100644
--- a/phpBB/phpbb/user.php
+++ b/phpBB/phpbb/user.php
@@ -317,7 +317,7 @@ class user extends \phpbb\session
}
// Is board disabled and user not an admin or moderator?
- if ($config['board_disable'] && !defined('IN_LOGIN') && !$auth->acl_gets('a_', 'm_') && !$auth->acl_getf_global('m_'))
+ if ($config['board_disable'] && !defined('IN_LOGIN') && !defined('SKIP_CHECK_DISABLED') && !$auth->acl_gets('a_', 'm_') && !$auth->acl_getf_global('m_'))
{
if ($this->data['is_bot'])
{