]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/newsletter_functions.php
login bonus will no longer be payed when turned off, "Y/N" rewritten to 'Y/N'
[mailer.git] / inc / libs / newsletter_functions.php
index aa75f75f36dbe65949030e3950a160160005344c..184effff6c1278e6c31b9928eb6594b1243d5dc1 100644 (file)
@@ -163,19 +163,19 @@ function SEND_NEWSLETTER($TO, $SUBJECT, $MSG, $MODE)
 {
        global $_POST;
        // Send mail away as HTML
 {
        global $_POST;
        // Send mail away as HTML
-       if ($_POST['auto_urls'] == "Y") {
+       if ($_POST['auto_urls'] == 'Y') {
                // Automatically insert URLs into newsletter
                if ((EXT_IS_ACTIVE("html")) && ($MODE == "html")) {
                        // Send HTML mail
                // 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($MSG), 'Y');
                } else {
                        // Send normal mail
                } else {
                        // Send normal mail
-                       SEND_EMAIL($TO, $SUBJECT, 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")) {
                }
        } else {
                // Regular send-out
                if ((EXT_IS_ACTIVE("html")) && ($MODE == "html")) {
-                       SEND_EMAIL($TO, $SUBJECT, $MSG, "Y");
+                       SEND_EMAIL($TO, $SUBJECT, $MSG, 'Y');
                } else {
                        SEND_EMAIL($TO, $SUBJECT, $MSG);
                }
                } else {
                        SEND_EMAIL($TO, $SUBJECT, $MSG);
                }