1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/17093] Depends_on to v3310 and reformat switch

PHPBB3-17093
This commit is contained in:
Christian Schnegelberger
2023-03-02 21:14:46 +01:00
parent fd21296a18
commit 042feffed8
2 changed files with 8 additions and 5 deletions

View File

@@ -379,14 +379,17 @@ class user extends \phpbb\session
{
case 0:
$access_disabled_board = $auth->acl_gets('a_');
break;
break;
case 1:
$access_disabled_board = $auth->acl_gets('a_', 'm_');
break;
default:
break;
case 2:
default:
$access_disabled_board = $auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_');
break;
break;
}
if ($config['board_disable'] && !defined('IN_INSTALL') && !defined('IN_LOGIN') && !defined('SKIP_CHECK_DISABLED') && !$access_disabled_board)