$template = 'mailid_points_done';
// Right code entered add points and remove entry
- if ((getUserData('ref_payout') > 0) && (!isDirectPaymentAllowed())) {
+ if ((getUserData('ref_payout') > 0) && (!isDirectPaymentEnabled())) {
// Don't add points over the referal system
$template = 'mailid_points_locked';
} // END - if