diff --git a/index.php b/index.php index 72ec23cd6eab94a7ba1e043ee650fd88b118e05c..f3e5928dd65c3d6e7b6f6a8bcc38818e31441838 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 d2da1fdcac03a2a5908fe1788a84ef42508661a4..9f2b2e43b743a2cd3b1d886827986196489d6012 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 {