aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/include/themes.class.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/admin/include/themes.class.php b/admin/include/themes.class.php
index 505785b73..dd783d7aa 100644
--- a/admin/include/themes.class.php
+++ b/admin/include/themes.class.php
@@ -88,7 +88,10 @@ class themes
break;
}
- if ($this->fs_themes[$theme_id]['mobile'] and !empty($conf['mobile_theme']))
+
+ if ($this->fs_themes[$theme_id]['mobile']
+ and !empty($conf['mobile_theme'])
+ and $conf['mobile_theme'] != $theme_id)
{
array_push($errors, l10n('You can activate only one mobile theme.'));
break;