PDA

View Full Version : Email problem if PWA=false



eric4444
03-05-2006, 05:27 PM
Hi,

The create_account.php function does not check duplicate email addresses if Purchase Without Account = false. No errors, just goes to create_account_success.php but no account is created, and no email is sent.

It should display ENTRY_EMAIL_ADDRESS_ERROR_EXISTS message = "Your E-Mail Address already exists in our records - please log in with the e-mail address or create an account with a different address." ... but sadly it does not.

Uncommented the following lines (116-118) in create_account.php, but it didn't help.

// BOF: MOD - PWA
// if ($check_email['total'] > 0) {
// $error = true;
// $messageStack->add('create_account', ENTRY_EMAIL_ADDRESS_ERROR_EXISTS);
if ($check_email['total'] > 0) {
//PWA delete account
Anyone else have this problem/ or solution?

Regards,
Eric4