diff options
author | Gabriel Vazquez <leviatan21@phpbb.com> | 2009-06-24 02:56:05 +0000 |
---|---|---|
committer | Gabriel Vazquez <leviatan21@phpbb.com> | 2009-06-24 02:56:05 +0000 |
commit | 19e2dcd5db7f2a910409b82ce315265608ae8266 (patch) | |
tree | 1dff215f74a2acc9330cbd2ed8d030ba45a7becb /phpBB/style.php | |
parent | 723d4c562811b928528d6ff5b52069df36659b8f (diff) | |
download | forums-19e2dcd5db7f2a910409b82ce315265608ae8266.tar forums-19e2dcd5db7f2a910409b82ce315265608ae8266.tar.gz forums-19e2dcd5db7f2a910409b82ce315265608ae8266.tar.bz2 forums-19e2dcd5db7f2a910409b82ce315265608ae8266.tar.xz forums-19e2dcd5db7f2a910409b82ce315265608ae8266.zip |
Fixed Bug #47145 - [Fix] Correctly check banned users when force password change
Authorised by: AcydBurn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9665 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/style.php')
-rw-r--r-- | phpBB/style.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/style.php b/phpBB/style.php index 78fd2a91b4..a5c50e7fec 100644 --- a/phpBB/style.php +++ b/phpBB/style.php @@ -91,7 +91,7 @@ if ($id) $recompile = $config['load_tplcompile']; if (!$user) { - $id = $config['default_style']; + $id = ($id) ? $id : $config['default_style']; $recompile = false; $user = array('user_id' => ANONYMOUS); } @@ -289,4 +289,4 @@ if ($id) exit; -?>
\ No newline at end of file +?> |