- if ($REFERAL['receive_warnings'] == 'Y') {
- // Send notification to referal
- $REFERAL_MSG = loadEmailTemplate('sponsor_ref_notify', $REFERAL);
- sendEmail($REFERAL['email'], '{--SPONSOR_REFERAL_NOTIFY_SUBJECT--}', $REFERAL_MSG);
+ if ($REFERRAL['receive_warnings'] == 'Y') {
+ // Send notification to referral
+ $REFERRAL_MSG = loadEmailTemplate('sponsor_ref_notify', $REFERRAL);
+ sendEmail($REFERRAL['email'], '{--SPONSOR_REFERRAL_NOTIFY_SUBJECT--}', $REFERRAL_MSG);