aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/style.php
diff options
context:
space:
mode:
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
+?>