X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fpayout_functions.php;h=492eeda10ee4b7d5d98e80d69d606c83e8f27ad4;hp=8cdac37d2bfad5492290452371209a3943d99795;hb=30ae22f62ae87c53a56baf0d134569ba91011111;hpb=c72268213d4d4829d845d39c101bb08fbe4ed79a diff --git a/inc/libs/payout_functions.php b/inc/libs/payout_functions.php index 8cdac37d2b..492eeda10e 100644 --- a/inc/libs/payout_functions.php +++ b/inc/libs/payout_functions.php @@ -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?