]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-html_mail.php
This debug message was to noisy but it is needed in development (where debug-mode...
[mailer.git] / inc / extensions / ext-html_mail.php
index 3829864aeaad1543c04964e56c2a7b26370f2f83..583a0664b6c4934e6b10da0e9765f9be6e64d2a9 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -62,12 +62,12 @@ switch (getExtensionMode()) {
 
        case 'activate': // Do stuff when admin activates this extension
                // SQL commands to run
-               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `visible`='Y', `locked`='N' WHERE `what`='html_mail' LIMIT 1");
+               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `visible`='Y',`locked`='N' WHERE `what`='html_mail' LIMIT 1");
                break;
 
        case 'deactivate': // Do stuff when admin deactivates this extension
                // SQL commands to run
-               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `visible`='N', `locked`='Y' WHERE `what`='html_mail' LIMIT 1");
+               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `visible`='N',`locked`='Y' WHERE `what`='html_mail' LIMIT 1");
                break;
 
        case 'update': // Update an extension
@@ -153,8 +153,8 @@ switch (getExtensionMode()) {
                //
                $GLOBALS['url_ends'] = array(
                        ' ',
-                       "\n",
-                       "\r",
+                       chr(10),
+                       chr(13),
                        ')',
                );