]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_cats.php
Hotfix
[mailer.git] / inc / modules / admin / what-config_cats.php
index afd0edfd2baf9945f9052e5c377c68a1a31331c8..5fd1ef8f9290033beaceccbcae8317b51b051c67 100644 (file)
@@ -18,7 +18,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -62,7 +62,7 @@ if (isFormSent('add')) {
                $content = '{--CATEGORY_ADDED--}';
        } else {
                // Category does already exists
-               $content = '<span class="notice">{--CATEGORY_ALREADY_EXISTS--}</span>';
+               $content = '<span class="bad">{--CATEGORY_ALREADY_EXISTS--}</span>';
        }
 
        // Free memory
@@ -81,7 +81,7 @@ if (isFormSent('add')) {
                if (!empty($cat)) {
                        switch (getRequestElement('do')) {
                                case 'edit': // Change categories
-                                       SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_cats` SET `cat`='%s', `visible`='%s', `sort`=%s WHERE `id`=%s LIMIT 1",
+                                       SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_cats` SET `cat`='%s',`visible`='%s',`sort`=%s WHERE `id`=%s LIMIT 1",
                                                array(
                                                        $cat,
                                                        postRequestElement('visible', $id),