summaryrefslogtreecommitdiff
path: root/classes/pref/prefs.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/pref/prefs.php')
-rw-r--r--classes/pref/prefs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php
index 6c7a45953..4af0bef33 100644
--- a/classes/pref/prefs.php
+++ b/classes/pref/prefs.php
@@ -552,10 +552,10 @@ class Pref_Prefs extends Handler_Protected {
$themes = array_merge(glob("themes/*.php"), glob("themes/*.css"), glob("themes.local/*.css"));
$themes = array_map("basename", $themes);
- $themes = array_filter($themes, "theme_valid");
+ $themes = array_filter($themes, "theme_exists");
asort($themes);
- if (!theme_valid($value)) $value = "default.php";
+ if (!theme_exists($value)) $value = "default.php";
print "<select name='$pref_name' id='$pref_name' dojoType='dijit.form.Select'>";