]> git.mxchange.org Git - mailer.git/blobdiff - inc/mails/beg_mails.php
Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / mails / beg_mails.php
index 3bfd966c9e3b931c82130d4d20ae0e96ab9d0b47..554f101ed67c8c2cce666184c19da9409ef5e1fb 100644 (file)
@@ -85,7 +85,8 @@ if (!empty($sql)) {
 
        // Check for accounts to be notified
        $result_main = sqlQuery($sql, __FILE__, __LINE__);
 
        // Check for accounts to be notified
        $result_main = sqlQuery($sql, __FILE__, __LINE__);
-       if (!ifSqlHasZeroNums($result_main)) {
+
+       if (!ifSqlHasZeroNumRows($result_main)) {
                // Normal notification mails or bonus mails?
                $sentBonusMails = ((getBegNotifyBonus() > 0) && ($mode == 'enable') && (isExtensionActive('bonus')));
 
                // Normal notification mails or bonus mails?
                $sentBonusMails = ((getBegNotifyBonus() > 0) && ($mode == 'enable') && (isExtensionActive('bonus')));