author | Dan Fuhry <dan@enanocms.org> |
Sat, 15 Dec 2012 12:40:59 -0500 | |
changeset 1374 | f99b9c5036d4 |
parent 1373 | 851b91febb85 |
child 1376 | 60b580d22c7b |
--- a/plugins/SpecialAdmin.php Mon Nov 19 11:40:35 2012 -0500 +++ b/plugins/SpecialAdmin.php Sat Dec 15 12:40:59 2012 -0500 @@ -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'));