mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge pull request #2008 from marc1706/ticket/12167
[ticket/12167] Allow users to change style via style parameter by default
This commit is contained in:
commit
5fc29e0d2b
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ class user extends \phpbb\session
|
|||
unset($lang_set_ext);
|
||||
|
||||
$style_request = request_var('style', 0);
|
||||
if ($style_request && $auth->acl_get('a_styles') && !defined('ADMIN_START'))
|
||||
if ($style_request && (!$config['override_user_style'] || $auth->acl_get('a_styles')) && !defined('ADMIN_START'))
|
||||
{
|
||||
global $SID, $_EXTRA_URL;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue