A lot variables renamed from all upper-case to hungarian notation
[mailer.git] / inc / libs / newsletter_functions.php
index dfc732a9ddabe281773dd73ef9997fcf94a3840e..ee7663e7aa6c9cc43ed782c17c369daf05f93123 100644 (file)
@@ -153,23 +153,23 @@ function NL_INSERT_URLS ($text) {
 }
 
 //
-function SEND_NEWSLETTER ($TO, $SUBJECT, $MSG, $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")) && ($MODE == "html")) {
                        // Send HTML mail
-                       SEND_EMAIL($TO, $SUBJECT, HTML_INSERT_URLS($MSG), "Y");
+                       SEND_EMAIL($TO, $SUBJECT, HTML_INSERT_URLS($message), "Y");
                } else {
                        // Send normal mail
-                       SEND_EMAIL($TO, $SUBJECT, NL_INSERT_URLS($MSG), "N");
+                       SEND_EMAIL($TO, $SUBJECT, NL_INSERT_URLS($message), "N");
                }
        } else {
                // Regular send-out
                if ((EXT_IS_ACTIVE("html")) && ($MODE == "html")) {
-                       SEND_EMAIL($TO, $SUBJECT, $MSG, "Y");
+                       SEND_EMAIL($TO, $SUBJECT, $message, "Y");
                } else {
-                       SEND_EMAIL($TO, $SUBJECT, $MSG, "N");
+                       SEND_EMAIL($TO, $SUBJECT, $message, "N");
                }
        }
 }