]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/newsletter_functions.php
Cache class rewritten to better convention
[mailer.git] / inc / libs / newsletter_functions.php
index 564894e75cec258f90ff442db7e4ba79bc97046e..2b03a73f11db3ee23eee893ff35f514d59b71bfc 100644 (file)
@@ -167,17 +167,17 @@ function SEND_NEWSLETTER($TO, $SUBJECT, $MSG, $MODE)
                // Automatically insert URLs into newsletter
                if ((EXT_IS_ACTIVE("html")) && ($MODE == "html")) {
                        // Send HTML mail
-                       SEND_EMAIL($TO, $SUBJECT, array('text' => HTML_INSERT_URLS($MSG)), "Y");
+                       SEND_EMAIL($TO, $SUBJECT, HTML_INSERT_URLS($MSG), "Y");
                } else {
                        // Send normal mail
-                       SEND_EMAIL($TO, $SUBJECT, array('text' => NL_INSERT_URLS($MSG)), "N");
+                       SEND_EMAIL($TO, $SUBJECT, NL_INSERT_URLS($MSG), "N");
                }
        } else {
                // Regular send-out
                if ((EXT_IS_ACTIVE("html")) && ($MODE == "html")) {
-                       SEND_EMAIL($TO, $SUBJECT, array('text' => $MSG), "Y");
+                       SEND_EMAIL($TO, $SUBJECT, $MSG, "Y");
                } else {
-                       SEND_EMAIL($TO, $SUBJECT, array('text' => $MSG), "N");
+                       SEND_EMAIL($TO, $SUBJECT, $MSG, "N");
                }
        }
 }