Extension ext-earning introduced (unfinished), renamings:
[mailer.git] / inc / libs / newsletter_functions.php
index 1cb6390749e8ad16c4cbc38ba3d61736ae86f332..0ed71014cc37634fa2541403ccd2ef63cb78fc35 100644 (file)
@@ -128,7 +128,7 @@ function insertNewsletterUrls ($text) {
 // Wrapper for sending newsletter and wrapping URLs / HTML mail
 function sendNewsletter ($to, $subject, $message, $mode) {
        // Send mail away as HTML
-       if (postRequestParameter('auto_urls') == 'Y') {
+       if (postRequestElement('auto_urls') == 'Y') {
                // Automatically insert URLs into newsletter
                if ((isExtensionActive('html_mail')) && ($mode == 'html')) {
                        // Send HTML mail