summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
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 ff2840ef5..92b32fd61 100644
--- a/prefs.php
+++ b/prefs.php
@@ -39,7 +39,7 @@
<?php if ($_SESSION["uid"]) {
$theme = get_pref("USER_CSS_THEME", false, false);
- if ($theme && theme_valid("$theme")) {
+ if ($theme && theme_exists("$theme")) {
echo stylesheet_tag(get_theme_path($theme));
} else {
echo stylesheet_tag("css/default.css");