]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/payout_functions.php
More rewrites to make use of (cached) wrapper functions
[mailer.git] / inc / libs / payout_functions.php
index 8cdac37d2bfad5492290452371209a3943d99795..492eeda10ee4b7d5d98e80d69d606c83e8f27ad4 100644 (file)
@@ -56,7 +56,7 @@ WHERE
 ORDER BY
        `type` ASC",
                        array($points), __FUNCTION__, __LINE__);
-               if (SQL_NUMROWS($result) > 0) {
+               if (!SQL_HASZERONUMS($result)) {
                        // Now let's check
                        while ($content = SQL_FETCHARRAY($result)) {
                                // Are these points enougth?