if ($data['status'] == "CONFIRMED") {
// Set mode depending on how many mails the member has to confirm
$locked = false;
- if (($data['ref_payout'] > 0) && ($_CONFIG['allow_direct_pay'] == 'N')) $locked = true;
+ if (($data['ref_payout'] > 0) && ($_CONFIG['allow_direct_pay'] == "N")) $locked = true;
// Add points to account
$DEPTH = 0;