summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-08-24 17:22:32 +0300
committerAndrew Dolgov <[email protected]>2018-08-24 17:22:32 +0300
commitf7fe28d05997c501afc76031dad856ae5cae7cf9 (patch)
tree4e8a09d9a6014a1a1a8d3ae566f1dc931ad8174f /index.php
parent1da0818188722cb21ccc2cbccac8d9ceeb470187 (diff)
fix user theme ignoring active settings profile
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 0280a0728..72ec23cd6 100644
--- a/index.php
+++ b/index.php
@@ -64,7 +64,7 @@
<?php echo stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
<?php if ($_SESSION["uid"]) {
- $theme = get_pref( "USER_CSS_THEME", $_SESSION["uid"], false);
+ $theme = get_pref("USER_CSS_THEME");
if ($theme && theme_valid("$theme")) {
echo stylesheet_tag(get_theme_path($theme));
} else {