X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-themes.php;h=28c50740610b686d6fcb250e4c547149ec44b1c1;hb=d3c4fdd9bfab35389e1a5ff48f3952d527c7b4bb;hp=8b95657478d323b5b0392aa87bf0a8132d66e67d;hpb=3c8df4406f9247182f4dbe4494d62ac229a7bd28;p=mailer.git diff --git a/inc/modules/guest/action-themes.php b/inc/modules/guest/action-themes.php index 8b95657478..28c5074061 100644 --- a/inc/modules/guest/action-themes.php +++ b/inc/modules/guest/action-themes.php @@ -51,11 +51,11 @@ if ((!isExtensionActive('theme')) && (!isAdmin())) { // Get total num if (isAdmin()) { - // Load only active designs for user - $num_themes = countSumTotalData('Y', 'themes', 'id', 'theme_active', true); -} else { // Load all themes for admin $num_themes = countSumTotalData('', 'themes', 'id', '', true); +} else { + // Load only active designs for user + $num_themes = countSumTotalData('Y', 'themes', 'id', 'theme_active', true); } $OUT = '';