aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/style.php
diff options
context:
space:
mode:
authorGabriel Vazquez <leviatan21@phpbb.com>2009-06-24 02:56:05 +0000
committerGabriel Vazquez <leviatan21@phpbb.com>2009-06-24 02:56:05 +0000
commit19e2dcd5db7f2a910409b82ce315265608ae8266 (patch)
tree1dff215f74a2acc9330cbd2ed8d030ba45a7becb /phpBB/style.php
parent723d4c562811b928528d6ff5b52069df36659b8f (diff)
downloadforums-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.php4
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
+?>