]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/html_mail_functions.php
New naming convention applied to many functions, see #118 for details
[mailer.git] / inc / libs / html_mail_functions.php
index 3676e4cc50cf6ebf10ed522846b195891214494b..e2bcafab29ba4b5cbae7b30e2389222daec74ac2 100644 (file)
@@ -57,7 +57,7 @@ function HTML_CHECK_TAGS ($html) {
        $test = stripslashes($html);
        while (ereg("<", $test) && ereg(">", $test)) {
                $check = strtolower(substr($test, strpos($test, "<") + 1, strpos($test, ">") - strpos($test, "<") - 1));
-               $check = str_replace("/", '', $check);
+               $check = str_replace('/', '', $check);
                if (!in_array($check, $GLOBALS['html_tags'])) {
                        // Invalid tag found!
                        return "";
@@ -156,7 +156,7 @@ function SEND_HTML_EMAIL($to, $subject, $message, $FROM) {
        if (EXT_IS_ACTIVE('html_mail')) {
                // Send mail away as HTML
                $FROM = "Content-Type: text/html\n".$FROM;
-               SEND_EMAIL($to, $subject, $message, 'N', $FROM);
+               sendEmail($to, $subject, $message, 'N', $FROM);
        }
 }