# HG changeset patch # User Dan Fuhry # Date 1377137638 14400 # Node ID 60b580d22c7bdfd0bf41ad5a65d7ab1af814e55f # Parent f99b9c5036d4fdaa01ac3c9e794888b6ab6aa7f2# Parent d66e43ac35b60661194177025c0d52e094d636e1 Merged diff -r d66e43ac35b6 -r 60b580d22c7b plugins/SpecialAdmin.php --- a/plugins/SpecialAdmin.php Wed Aug 21 22:12:42 2013 -0400 +++ b/plugins/SpecialAdmin.php Wed Aug 21 22:13:58 2013 -0400 @@ -1631,6 +1631,9 @@ { $use_smtp = getConfig('smtp_enabled') == '1'; + // init errors array + $errors = array(); + // // Let's do some checking to make sure that mass mail functions // are working in win32 versions of php. (copied from phpBB) @@ -1718,7 +1721,7 @@ } } - if ( sizeof($errors) < 1 ) + if ( empty($errors) ) { $mail->from(getConfig('contact_email'));