]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/newsletter_functions.php
More double- to single-quotes rewritten
[mailer.git] / inc / libs / newsletter_functions.php
index e44554ef0367efc048a767bbdf4ea207e5b90744..0f0e276de00f94475cf3c3c6b487af50451981cf 100644 (file)
@@ -153,11 +153,11 @@ function NL_INSERT_URLS ($text) {
 }
 
 //
-function SEND_NEWSLETTER ($to, $subject, $message, $MODE) {
+function SEND_NEWSLETTER ($to, $subject, $message, $mode) {
        // Send mail away as HTML
        if (REQUEST_POST('auto_urls') == 'Y') {
                // Automatically insert URLs into newsletter
-               if ((EXT_IS_ACTIVE('html_mail')) && ($MODE == 'html')) {
+               if ((EXT_IS_ACTIVE('html_mail')) && ($mode == 'html')) {
                        // Send HTML mail
                        SEND_EMAIL($to, $subject, HTML_INSERT_URLS($message), "Y");
                } else {
@@ -166,7 +166,7 @@ function SEND_NEWSLETTER ($to, $subject, $message, $MODE) {
                }
        } else {
                // Regular send-out
-               if ((EXT_IS_ACTIVE('html_mail')) && ($MODE == 'html')) {
+               if ((EXT_IS_ACTIVE('html_mail')) && ($mode == 'html')) {
                        SEND_EMAIL($to, $subject, $message, "Y");
                } else {
                        SEND_EMAIL($to, $subject, $message, "N");