Updated copyright year.
[mailer.git] / inc / modules / member / what-payout.php
index 05fd0c9f000d7cdf9f0c95f720d4566139343c24..8cc6bc730de05b1ba390de38456cdb85673b2830 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2015 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2016 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -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)) {