X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-themes.php;h=673b440848faeafa247a100ea531402349e1309d;hb=d495bd859975d08ee459d03c9b1cd51dd9b9304d;hp=28c50740610b686d6fcb250e4c547149ec44b1c1;hpb=8bce60d8ab95702435c308a3f3ca50c78eeea407;p=mailer.git diff --git a/inc/modules/guest/action-themes.php b/inc/modules/guest/action-themes.php index 28c5074061..673b440848 100644 --- a/inc/modules/guest/action-themes.php +++ b/inc/modules/guest/action-themes.php @@ -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()) {