]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/overview-inc.php
Fix for broken SQL
[mailer.git] / inc / modules / admin / overview-inc.php
index ecd876f699d3f4ea85a1714e916b560e2f291327..abeab6b2fefc66983718a5fde4e7c69f8cfc27ff 100644 (file)
@@ -116,7 +116,7 @@ ORDER BY
        `task_created` DESC",
                array(getCurrentAdminId()), __FILE__, __LINE__);
 
-       if (SQL_NUMROWS($result_tasks) > 0) {
+       if (!SQL_HASZERONUMS($result_tasks)) {
                // New jobs found!
                $jobsDone = false;
        } // END - if