X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fnewsletter_functions.php;h=184effff6c1278e6c31b9928eb6594b1243d5dc1;hp=aa75f75f36dbe65949030e3950a160160005344c;hb=e1653405d28923c78b2e292125306ccf61138f24;hpb=33a744d80e9c5ec1c13e8f643143146166975e9b diff --git a/inc/libs/newsletter_functions.php b/inc/libs/newsletter_functions.php index aa75f75f36..184effff6c 100644 --- a/inc/libs/newsletter_functions.php +++ b/inc/libs/newsletter_functions.php @@ -163,19 +163,19 @@ function SEND_NEWSLETTER($TO, $SUBJECT, $MSG, $MODE) { 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 - SEND_EMAIL($TO, $SUBJECT, HTML_INSERT_URLS($MSG), "Y"); + SEND_EMAIL($TO, $SUBJECT, HTML_INSERT_URLS($MSG), 'Y'); } 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")) { - SEND_EMAIL($TO, $SUBJECT, $MSG, "Y"); + SEND_EMAIL($TO, $SUBJECT, $MSG, 'Y'); } else { SEND_EMAIL($TO, $SUBJECT, $MSG); }