From 023d240bd9154811e5ebca23892ed06fefc72c08 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 17 Jan 2013 01:09:58 +0000 Subject: [PATCH] Extension ext-theme doesn't need to be activated in admin area --- inc/libs/theme_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/libs/theme_functions.php b/inc/libs/theme_functions.php index 3fce3a9638..5fbcfb2edd 100644 --- a/inc/libs/theme_functions.php +++ b/inc/libs/theme_functions.php @@ -154,7 +154,7 @@ function getThemeVersion ($name) { // Checks whether a theme is found in db function ifThemeExists ($name) { // Get theme and is it not nul? - return ((isExtensionActive('theme')) && (getThemeId($name) > 0)); + return (((isExtensionActive('theme')) || (getModule() == 'admin')) && (getThemeId($name) > 0)); } // Checks if a theme is active -- 2.39.2