]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-add_rallye.php
Extension ext-network continued:
[mailer.git] / inc / modules / admin / what-add_rallye.php
index 8286c6e260d8bbe28c22b9c60e85a7e9edcdb8c1..1b0aad03c9297174020a2bb25a3cd9af1f209676 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 *
@@ -54,8 +54,29 @@ if (isFormSent()) {
 
        if (SQL_HASZERONUMS($result)) {
                // Ok, start and end time did not overlap
-               SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_rallye_data` (`admin_id`,`title`,`descr`, template, `start_time`,`end_time`,`auto_add_new_user`,`is_active`,`send_notify`)
-VALUES (%s,'%s','%s','%s',%s,%s,'%s','%s','%s')",
+               SQL_QUERY_ESC("INSERT INTO
+       `{?_MYSQL_PREFIX?}_rallye_data`
+(
+       `admin_id`,
+       `title`,
+       `descr`,
+       `template`,
+       `start_time`,
+       `end_time`,
+       `auto_add_new_user`,
+       `is_active`,
+       `send_notify`
+) VALUES (
+       %s,
+       '%s',
+       '%s',
+       '%s',
+       %s,
+       %s,
+       '%s',
+       '%s',
+       '%s'
+)",
                        array(
                                getCurrentAdminId(),
                                postRequestElement('title'),