mirror of
https://github.com/PHPMailer/PHPMailer.git
synced 2024-09-20 10:02:14 +02:00
Merge pull request #109 from btafoya/master
If the autoload stack is not activated then the return value is FALSE.
This commit is contained in:
commit
562a35dcee
@ -571,7 +571,7 @@ class PHPMailer
|
||||
{
|
||||
$this->exceptions = ($exceptions == true);
|
||||
//Make sure our autoloader is loaded
|
||||
if (!in_array('PHPMailerAutoload', spl_autoload_functions())) {
|
||||
if (!spl_autoload_functions() || !in_array('PHPMailerAutoload', spl_autoload_functions())) {
|
||||
require 'PHPMailerAutoload.php';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user