Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / modules / admin / what-repair_cats.php
index 8c76b24c89e0a762f0dc7ad8e8ed44960f390482..e72df0959f09c3b342d8ad7de36eab5003705039 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2015 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -45,7 +45,8 @@ addYouAreHereLink('admin', __FILE__);
 
 // Go through all categories
 $result = sqlQuery("SELECT `userid` FROM `{?_MYSQL_PREFIX?}_user_cats` GROUP BY `userid` ORDER BY `userid` ASC", __FILE__, __LINE__);
-if (!ifSqlHasZeroNums($result)) {
+
+if (!ifSqlHasZeroNumRows($result)) {
         // Nothing is removed for now... ;-)
        $removedRows = '0';