title: PHP Mailer array error
body: <p>Having an annoying error with PHPMailer and can't figure what it's for</p>
  
  <p>Mails send fine with it, but I get this:</p>
  
  <pre><code>Warning: in_array() expects parameter 2 to be array, boolean given in /dir/class.phpmailer.php on line 574
  </code></pre>
  
  <p>Any idea's?</p>
  
  <p>CODE:</p>
  
  <pre><code>if (!in_array('PHPMailerAutoload', spl_autoload_functions())) {
    require 'PHPMailerAutoload.php';
    }
  </code></pre>
  
  <p>class.phpmailer.php is 2000+ lines long, obviously I can't paste it all</p>