summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.php2
-rw-r--r--prefs.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 72ec23cd6..f3e5928dd 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");
+ $theme = get_pref("USER_CSS_THEME", false, false);
if ($theme && theme_valid("$theme")) {
echo stylesheet_tag(get_theme_path($theme));
} else {
diff --git a/prefs.php b/prefs.php
index d2da1fdca..9f2b2e43b 100644
--- a/prefs.php
+++ b/prefs.php
@@ -40,7 +40,7 @@
<?php echo stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
<?php if ($_SESSION["uid"]) {
- $theme = get_pref("USER_CSS_THEME");
+ $theme = get_pref("USER_CSS_THEME", false, false);
if ($theme && theme_valid("$theme")) {
echo stylesheet_tag(get_theme_path($theme));
} else {