]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-html_mail.php
fooRequestElementBar() functions renamed, adding of request parameters added:
[mailer.git] / inc / modules / member / what-html_mail.php
index 25fff7aec61c44a7707f47d8b69eca6de127c06a..37db5aaa92299471e2c10903d109938f22850882 100644 (file)
@@ -55,7 +55,7 @@ if ((!isExtensionActive('html_mail')) && (!isAdmin())) {
 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__);
+               array(postRequestParameter('html'), getMemberId()), __FILE__, __LINE__);
        loadTemplate('admin_settings_saved', false, getMessage('MEMBER_SETTINGS_SAVED'));
 } else {
        // Prepare it