]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/action-themes.php
Huge rewrite of default parameters, ext-network continued:
[mailer.git] / inc / modules / guest / action-themes.php
index 28c50740610b686d6fcb250e4c547149ec44b1c1..673b440848faeafa247a100ea531402349e1309d 100644 (file)
@@ -62,7 +62,7 @@ $OUT = '';
 if ($num_themes > 1) {
        // If more than 1 is installed output selection box
        $OUT = generateThemeSelectionBox();
-} elseif (($num_themes == 1) || ((!isAdmin()) && ($num_themes == 0))) {
+} elseif (($num_themes == 1) || ((!isAdmin()) && ($num_themes == '0'))) {
        // If there's only one just output it's name
        $OUT = loadTemplate('theme_one', true, getCurrentThemeName());
 } elseif (isAdmin()) {