Fix in CREATE_EXTENSION_DEACTIVATION_TASK() and coding-style updated
[mailer.git] / inc / modules / admin / what-add_rallye.php
index d0ffeb91690c2476e8e196412d003ce17dae4a39..d5d1e97066ed3cbcf8bfe3f1cee489673d824735 100644 (file)
@@ -53,7 +53,7 @@ if (isset($_POST['ok']))
        if (SQL_NUMROWS($result) == 0)
        {
                // 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)
+               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(
        GET_CURRENT_ADMIN_ID(),