]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-html_mail.php
A lot templates rewritten, TODOs.txt updated, XHTML fixes:
[mailer.git] / inc / modules / member / what-html_mail.php
index 278e8b865ba67154420e79bbe51d9af6edce427b..25fff7aec61c44a7707f47d8b69eca6de127c06a 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 04/25/2004 *
- * ================                             Last change: 04/29/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 04/25/2004 *
+ * ===================                          Last change: 04/29/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-html_mail.php                               *
@@ -55,15 +55,9 @@ 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'), getUserId()), __FILE__, __LINE__);
+               array(postRequestElement('html'), getMemberId()), __FILE__, __LINE__);
        loadTemplate('admin_settings_saved', false, getMessage('MEMBER_SETTINGS_SAVED'));
 } else {
-       // Load template for changing settings
-       if (!fetchUserData(getUserId())) {
-               // Something really bad happened
-               debug_report_bug('No user account ' . getUserId() . ' found.');
-       } // END - if
-
        // Prepare it
        $content['html_y'] = '';
        $content['html_n'] = '';