Fix for fatal error and naming convention applied
[mailer.git] / inc / modules / admin / what-send_newsletter.php
index c96e883df0019b3d1babb21912953c00d23951c1..9cdac1d2a6aa64e1e4a722dff3662ba7e47bee51 100644 (file)
@@ -45,7 +45,7 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 // Add description as navigation point
 ADD_DESCR('admin', __FILE__);
 
-if (IS_FORM_SENT()) {
+if (isFormSent()) {
        $result = SQL_QUERY("SELECT userid, email
 FROM `{!_MYSQL_PREFIX!}_user_data`
 WHERE `status`='CONFIRMED' AND nl_receive='Y'