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

foreach for empty transportOptions #9

Closed
GoogleCodeExporter opened this issue Feb 17, 2016 · 1 comment
Closed

foreach for empty transportOptions #9

GoogleCodeExporter opened this issue Feb 17, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

In case of smtp transport and empty transportOptions it will cause an php error 
Invalid argument supplied for foreach() in line 
    00212:                     foreach ($this->transportOptions as $option => $value)


I think you should add if ($this->transportOptions !== null) before it.


Original issue reported on code.google.com by tenz...@gmail.com on 17 Jan 2011 at 1:20

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision r10.

Original comment by poppity...@gmail.com on 18 Jan 2011 at 5:00

  • Changed state: Fixed

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

No branches or pull requests

1 participant