Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Sep 20, 2013
2 parents 4e1cab4 + 562a35d commit 7492986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class.phpmailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ public function __construct($exceptions = false)
{
$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';
}
}
Expand Down

0 comments on commit 7492986

Please sign in to comment.