diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index bf4d6e42e..18ffcc720 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -570,6 +570,8 @@ class Pref_Prefs extends Handler_Protected { $themes = array_filter($themes, "theme_valid"); asort($themes); + if (!theme_valid($value)) $value = "default.php"; + print_select($pref_name, $value, $themes, 'dojoType="dijit.form.Select"');