aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/style.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/style.php')
-rw-r--r--phpBB/style.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/style.php b/phpBB/style.php
index 78fd2a91b4..0b4c3d0d41 100644
--- a/phpBB/style.php
+++ b/phpBB/style.php
@@ -91,8 +91,9 @@ if ($id)
$recompile = $config['load_tplcompile'];
if (!$user)
{
- $id = $config['default_style'];
- $recompile = false;
+ $id = ($id) ? $id : $config['default_style'];
+// Commented out because calls do not always include the SID anymore
+// $recompile = false;
$user = array('user_id' => ANONYMOUS);
}