]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-payout.php
Fix for fatal error and naming convention applied
[mailer.git] / inc / modules / member / what-payout.php
index 5c6e5e2c9ec04fa73a8f350ea070b36f6ba03ca6..81a601c79d3268f3cffdccfb56d86528c9977bed 100644 (file)
@@ -185,7 +185,7 @@ ORDER BY p.payout_timestamp DESC",
 
                if (convertCommaToDot($TPTS) >= $content['min_points']) {
                        // Ok, he can get be paid
-                       if ((IS_FORM_SENT()) && ($PAYOUT <= $PAY_MAX) && ($PAYOUT >= $content['min_points'])) {
+                       if ((isFormSent()) && ($PAYOUT <= $PAY_MAX) && ($PAYOUT >= $content['min_points'])) {
                                // Calculate exact value
                                // @TODO Rewrite this constant
                                define('PAYOUT_POINTS_VALUE', $PAYOUT);