X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-repair_cats.php;h=32b6e415d3a9ab0c521034c668d7d7df2bde1f5c;hb=22f132c8d6314f76c69dff58ec0dac21f5ca3bf2;hp=5e99503109eb5b4045538abff154e66b2b42cf1b;hpb=29385a0483bbcbbe940a32a49d488b1d5add15c5;p=mailer.git diff --git a/inc/modules/admin/what-repair_cats.php b/inc/modules/admin/what-repair_cats.php index 5e99503109..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';