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'),