Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail class, send email error handler #1365

Closed
hellomaya opened this issue Apr 23, 2014 · 0 comments
Closed

Mail class, send email error handler #1365

hellomaya opened this issue Apr 23, 2014 · 0 comments

Comments

@hellomaya
Copy link

From opencart 1.5.6, it deal with email with this logic,

if (!$this->to) {
trigger_error('Error: E-Mail to required!');
exit();
}

So every time if there is something wrong, it will exit the code, that definitely not good, when user registered and used a wrong email perhaps fake one, this will bring code just exit, nothing bug a blank page returned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants