aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/themes.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/include/themes.class.php')
-rw-r--r--admin/include/themes.class.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/admin/include/themes.class.php b/admin/include/themes.class.php
index 82622d878..86651f55f 100644
--- a/admin/include/themes.class.php
+++ b/admin/include/themes.class.php
@@ -81,6 +81,12 @@ class themes
break;
}
+ if ('default' == $theme_id)
+ {
+ // you can't activate the "default" theme
+ break;
+ }
+
$missing_parent = $this->missing_parent_theme($theme_id);
if (isset($missing_parent))
{