]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_mods.php
Bad things are now 'classified' as bad (CSS class 'bad' is being used instead of...
[mailer.git] / inc / modules / admin / what-config_mods.php
index e352214c2090bb24ec7fc07fbccc72bf851ab6ba..c5b66e5602b5831f769e25352f7c8e56990b93ef 100644 (file)
@@ -17,7 +17,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 *
@@ -92,7 +92,17 @@ if (isFormSent('edit')) {
                $id = bigintval($id);
 
                // Update module
-               addSql(SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_mod_reg` SET `title`='%s', `locked`='%s', `hidden`='%s', `admin_only`='%s', `mem_only`='%s' WHERE `id`=%s LIMIT 1",
+               addSql(SQL_QUERY_ESC("UPDATE
+       `{?_MYSQL_PREFIX?}_mod_reg`
+SET
+       `title`='%s',
+       `locked`='%s',
+       `hidden`='%s',
+       `admin_only`='%s',
+       `mem_only`='%s'
+WHERE
+       `id`=%s
+LIMIT 1",
                        array(
                                postRequestElement('title', $id),
                                postRequestElement('locked', $id),