Complete rewrite of and , wrapper functions added, see bug #101
[mailer.git] / inc / libs / newsletter_functions.php
index 7fccd6fa40c83f3e62448bbffeb51dce04cf005a..f0626fb3b234b1efbfed36216348d6d224a02787 100644 (file)
@@ -150,7 +150,7 @@ function NL_INSERT_URLS ($text) {
 //
 function SEND_NEWSLETTER ($TO, $SUBJECT, $MSG, $MODE) {
        // Send mail away as HTML
-       if ($_POST['auto_urls'] == "Y") {
+       if (REQUEST_POST('auto_urls') == "Y") {
                // Automatically insert URLs into newsletter
                if ((EXT_IS_ACTIVE("html")) && ($MODE == "html")) {
                        // Send HTML mail