Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / purge / purge-tasks.php
index 11c767c946e48c4968cc75c9cbdfde250d97d8bb..d18fc5db72afad46be278cb71e8ede0c8d44d8ab 100644 (file)
@@ -64,7 +64,7 @@ WHERE
        (UNIX_TIMESTAMP() - `task_created`) >= {?ap_tasks_time?}", __FILE__, __LINE__);
 
        // Send out a notification?
-       if (!ifSqlHasZeroNums($result)) {
+       if (!ifSqlHasZeroNumRows($result)) {
                // Init output and load all rows
                $output = ''; $ids = array();
                while ($row = sqlFetchArray($result)) {