Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / pool / pool-bonus.php
index 7a3653dd3ab9e065342c4fe3e164ba4432a7fd16..eb263b9905241feda5c5aa0995d6539756be13b6 100644 (file)
@@ -82,7 +82,7 @@ ORDER BY
        `timestamp` DESC", __FILE__, __LINE__);
 
        // Some mails left?
-       if (!ifSqlHasZeroNums($result_main)) {
+       if (!ifSqlHasZeroNumRows($result_main)) {
                // Init SQLs here
                initSqls();