Extension ext-earning introduced (unfinished), renamings:
[mailer.git] / inc / modules / member / what-html_mail.php
index aec4b2c5f91c8bd5a1d8cb24941df177ca9de9bf..23526ffd18d9b4f38c78c782532be3b9fef965c5 100644 (file)
@@ -54,7 +54,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(postRequestParameter('html'), getMemberId()), __FILE__, __LINE__);
+               array(postRequestElement('html'), getMemberId()), __FILE__, __LINE__);
        displayMessage('{--MEMBER_SETTINGS_SAVED--}');
 } else {
        // Prepare it