X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-repair_cats.php;h=32b6e415d3a9ab0c521034c668d7d7df2bde1f5c;hb=c563d3af1f2a852ff0dd3a8ccd477136bed6c661;hp=51e4edd39717af874f7ec50955e462a7ea6d79e8;hpb=1135eca961b9e2b4deb1ff6a17adebaf7e8f889f;p=mailer.git diff --git a/inc/modules/admin/what-repair_cats.php b/inc/modules/admin/what-repair_cats.php index 51e4edd397..32b6e415d3 100644 --- a/inc/modules/admin/what-repair_cats.php +++ b/inc/modules/admin/what-repair_cats.php @@ -47,7 +47,7 @@ addMenuDescription('admin', __FILE__); // Go through all categories $result = SQL_QUERY("SELECT `userid` FROM `{?_MYSQL_PREFIX?}_user_cats` GROUP BY `userid` ORDER BY `userid` ASC", __FILE__, __LINE__); -if (SQL_NUMROWS($result) > 0) { +if (!SQL_HASZERONUMS($result)) { // Nothing is removed for now... ;-) $REMOVED = '0'; @@ -71,7 +71,7 @@ if (SQL_NUMROWS($result) > 0) { } } else { // No category selections found, no members registered? - $content = '
{--ADMIN_REPAIR_CATS_NOTHING--}
'; + $content = '
{--ADMIN_REPAIR_CATEGORIES_NOTHING--}
'; } // Load template