]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-html_mail.php
Rewrote many parts:
[mailer.git] / inc / modules / member / what-html_mail.php
index 56bf6ae3500e7e2c3b8c62b36bc90276767b5ac2..0f0b21de63cafcf274442142e7b9afbb61b0d531 100644 (file)
@@ -53,8 +53,12 @@ if ((!isExtensionActive('html_mail')) && (!isAdmin())) {
 // Class was found and loaded
 if (isFormSent()) {
        // Save settings
-       SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `html`='%s' WHERE `userid`=%s LIMIT 1",
-               array(postRequestElement('html'), getMemberId()), __FILE__, __LINE__);
+       sqlQueryEscaped("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `html`='%s' WHERE `userid`=%s LIMIT 1",
+               array(
+                       postRequestElement('html'),
+                       getMemberId()
+               ), __FILE__, __LINE__
+       );
        displayMessage('{--MEMBER_SETTINGS_SAVED--}');
 } else {
        // Prepare it