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);