Entire rewrite of mail part in app! Not kidding here...
[mailer.git] / inc / modules / admin / what-add_rallye.php
index 9bd259c9f0858ae99f4efa94f2360baa7583135b..b9cafd89476b054354d991c630f79793bf6c3bf4 100644 (file)
@@ -54,7 +54,7 @@ if (isset($_POST['ok']))
        {
                // Ok, start and end time did not overlap
                $result = 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')",
+VALUES ('%s','%s','%s','%s','%s','%s','%s','%s','%s')",
  array(
        GET_ADMIN_ID(get_session('admin_login')),
        $_POST['title'],
@@ -95,9 +95,9 @@ VALUES ('%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s')",
 }
 
 // Prepare some constants for the template
-define('_AUTO_ADD_OPTIONS', ADD_OPTION_LINES("/ARRAY/", array('Y', 'N'), array(YES, NO )));
-define('_ACTIVE_OPTIONS'  , ADD_OPTION_LINES("/ARRAY/", array('N', 'Y'), array(NO , YES)));
-define('_NOTIFY_OPTIONS'  , ADD_OPTION_LINES("/ARRAY/", array('Y', 'N'), array(YES, NO )));
+define('_AUTO_ADD_OPTIONS', ADD_OPTION_LINES("/ARRAY/", array('Y','N'), array(YES, NO )));
+define('_ACTIVE_OPTIONS'  , ADD_OPTION_LINES("/ARRAY/", array('N','Y'), array(NO , YES)));
+define('_NOTIFY_OPTIONS'  , ADD_OPTION_LINES("/ARRAY/", array('Y','N'), array(YES, NO )));
 
 // Starting day
 define('_START_SEC'  , ADD_SELECTION("sec"  , "0"              , "start"));