]> git.mxchange.org Git - mailer.git/blobdiff - inc/pool/pool-user.php
Rewrote a lot parts to extract 'payments' table (+ handling) into own extension:
[mailer.git] / inc / pool / pool-user.php
index ee0bb3f0b874f9a669076e269456c8a86d482c26..9d8b295dd67c06ba164926f23c3c233dae2a347b 100644 (file)
@@ -293,7 +293,7 @@ if (!SQL_HASZERONUMS($result_main)) {
                                                // Is the userid set?
                                                if (isValidId($userid)) {
                                                        // User does not exists, pay points back
-                                                       $points = getPaymentData($mailData['payment_id']);
+                                                       $points = getPaymentPrice($mailData['payment_id']);
                                                        initReferralSystem();
                                                        addPointsThroughReferralSystem('pool_payback', $mailData['sender_userid'], $points);