]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-html_mail.php
Deprecated variables for templates removed, mor EL-rewrites, getMessage() rewritten:
[mailer.git] / inc / modules / member / what-html_mail.php
index 25fff7aec61c44a7707f47d8b69eca6de127c06a..3b9cb6fe3d00ea9d9247c9b4eed7169e3e85281b 100644 (file)
@@ -18,6 +18,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -55,8 +56,8 @@ 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__);
-       loadTemplate('admin_settings_saved', false, getMessage('MEMBER_SETTINGS_SAVED'));
+               array(postRequestParameter('html'), getMemberId()), __FILE__, __LINE__);
+       loadTemplate('admin_settings_saved', false, '{--MEMBER_SETTINGS_SAVED--}');
 } else {
        // Prepare it
        $content['html_y'] = '';