summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-08-24 17:23:46 +0300
committerAndrew Dolgov <[email protected]>2018-08-24 17:23:46 +0300
commit803b8ead1e40d917424c01f5cf0f7a2dda237ed2 (patch)
tree9e3e1d6623777a1f7597f2fc15553a8c13f42d55 /prefs.php
parentf7fe28d05997c501afc76031dad856ae5cae7cf9 (diff)
update previous to not die on errors
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php2
1 files changed, 1 insertions, 1 deletions
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 {