]> git.mxchange.org Git - mailer.git/blobdiff - mailid.php
Fixed 'payments' cache (all array elements must have 'id' based index)
[mailer.git] / mailid.php
index fb180602e9ee55348b297e5995ee4db1a699d4a3..5413d03bc0db94d89b766c230375520e8916bc23 100644 (file)
@@ -149,8 +149,8 @@ if ((isValidUserId($userId)) && (($mailId > 0) || ($bonusId > 0)) && (!ifFatalEr
                                                                array(bigintval($pool)), __FILE__, __LINE__);
                                                        if (SQL_NUMROWS($result) == 1) {
                                                                list($pay) = SQL_FETCHROW($result);
-                                                               $time      = getPaymentPoints($pay, 'time');
-                                                               $payment   = getPaymentPoints($pay, 'payment');
+                                                               $time      = getPaymentData($pay, 'time');
+                                                               $payment   = getPaymentData($pay, 'payment');
                                                                $isValid   = true;
                                                        } // END - if