X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Faction-themes.php;h=4d611a4b8026aec501e73dab2eb2457585591806;hb=37926c3fc93e4e2e000226375893a2f7f6bf3180;hp=22a22725ce689e01582105319a2daabe5a464118;hpb=5c2a434b5d2a14f54f89183c0a72186cf43f043b;p=mailer.git diff --git a/inc/modules/member/action-themes.php b/inc/modules/member/action-themes.php index 22a22725ce..4d611a4b80 100644 --- a/inc/modules/member/action-themes.php +++ b/inc/modules/member/action-themes.php @@ -1,7 +1,7 @@ 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()) {