]> git.mxchange.org Git - mailer.git/blobdiff - inc/pool/pool-user.php
More rewrites to make use of (cached) wrapper functions
[mailer.git] / inc / pool / pool-user.php
index c9bee512e0a5c9bed25288761e405a53f733ec13..b9fffa4cf1abaa0c533d631cac26ec90cb9562fd 100644 (file)
@@ -63,7 +63,7 @@ if (isExtensionActive('html_mail')) {
 
 // Reset variables
 $cnt2 = '0'; $lastSentId = '0'; $cnt_back = array(0); $pointsBack = array(0);
-if (SQL_NUMROWS($result_main) > 0) {
+if (!SQL_HASZERONUMS($result_main)) {
        // Parse all mails
        while ($DATA = SQL_FETCHARRAY($result_main, 0, false)) {
                // Set mail order as 'active'. That means it will be sent out