Commit 22387de2 authored by Andrew Dolgov's avatar Andrew Dolgov

preferences: set themes dropdown to default if selected theme is missing

parent 7d9aac9a
......@@ -570,6 +570,8 @@ class Pref_Prefs extends Handler_Protected {
$themes = array_filter($themes, "theme_valid");
if (!theme_valid($value)) $value = "default.php";
print_select($pref_name, $value, $themes,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment