]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-payout.php
Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / modules / member / what-payout.php
index 05fd0c9f000d7cdf9f0c95f720d4566139343c24..223d0c09d27d64515369d4c937019c49b9b12390 100644 (file)
@@ -76,7 +76,7 @@ ORDER BY
                array($payoutPoints), __FILE__, __LINE__);
 
        // Some entries found?
-       if (!ifSqlHasZeroNums($result)) {
+       if (!ifSqlHasZeroNumRows($result)) {
                // Check for his payouts
                $result_payouts = sqlQueryEscaped('SELECT
        `p`.`id`,
@@ -101,7 +101,7 @@ WHERE
 ORDER BY
        `p`.`payout_timestamp` DESC',
                        array(getMemberId()), __FILE__, __LINE__);
-               if (!ifSqlHasZeroNums($result_payouts)) {
+               if (!ifSqlHasZeroNumRows($result_payouts)) {
                        // List all his requests
                        $OUT = '';
                        while ($content = sqlFetchArray($result_payouts)) {