aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/style.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2010-03-02 01:05:40 +0100
committerNils Adermann <naderman@naderman.de>2010-03-02 01:05:40 +0100
commit021c186be91095397d4e76801738373989360a52 (patch)
tree4a5b42c0ebcaeb0be77edacb839bf164fe2dadc0 /phpBB/style.php
parent4f9c3b8f5c0181c2ebf367436f3c0336d8f2251d (diff)
parent3ddedd5ff228cdcc3c0b05000affe3944afc7854 (diff)
downloadforums-021c186be91095397d4e76801738373989360a52.tar
forums-021c186be91095397d4e76801738373989360a52.tar.gz
forums-021c186be91095397d4e76801738373989360a52.tar.bz2
forums-021c186be91095397d4e76801738373989360a52.tar.xz
forums-021c186be91095397d4e76801738373989360a52.zip
Merge commit 'release-3.0.6-RC1'
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);
}