Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
7492986b81
|
|
@ -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