]> git.mxchange.org Git - mailer.git/blobdiff - inc/mails/beg_mails.php
More rewrites to make use of (cached) wrapper functions
[mailer.git] / inc / mails / beg_mails.php
index cb5fc1c2835551a66e1c11a44f47bbfb7ae89103..b4ea70bfd0f9c64b93bfdf831fad204ad7d91ea0 100644 (file)
@@ -91,7 +91,7 @@ if (!empty($sql)) {
 
        // Check for accounts to be notified
        $result_main = SQL_QUERY($sql, __FILE__, __LINE__);
-       if (SQL_NUMROWS($result_main) > 0) {
+       if (!SQL_HASZERONUMS($result_main)) {
                // Normal notification mails or bonus mails?
                $sentBonusMails = ((getConfig('beg_notify_bonus') > 0) && ($mode == 'enable') && (isExtensionActive('bonus')));