]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-send_newsletter.php
Some rewrites, TODOs handled:
[mailer.git] / inc / modules / admin / what-send_newsletter.php
index c93be0786546fb401926ca8e3bc6f12385b672c1..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'
@@ -84,7 +84,7 @@ ORDER BY userid ASC", __FILE__, __LINE__);
 } else {
        // Copy data into constants for the template and load it
        // @TODO Rewrite this constant
-       define('_DATESTAMP', generateDateTime(time(), "3"));
+       define('_DATESTAMP', generateDateTime(time(), '3'));
        if (EXT_IS_ACTIVE('html_mail')) {
                // Load template with HTML mode
                LOAD_TEMPLATE("admin_newsletter");