X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-add_rallye.php;h=3435eba37bde7da64827912b9051a25b8adeff0c;hb=f5ebd83b36f343022977241bd9b570051ece4b0f;hp=12afe8b0c8aea753811532ce908886af6fb5d574;hpb=9afd6ec5878544a7982c50ed9c0dd7de37606d5b;p=mailer.git diff --git a/inc/modules/admin/what-add_rallye.php b/inc/modules/admin/what-add_rallye.php index 12afe8b0c8..3435eba37b 100644 --- a/inc/modules/admin/what-add_rallye.php +++ b/inc/modules/admin/what-add_rallye.php @@ -1,7 +1,7 @@ = %s) OR (start_time >= %s AND start_time <= %s) LIMIT 1", @@ -59,19 +59,19 @@ if (isFormSent()) { VALUES ('%s','%s','%s','%s','%s','%s','%s','%s','%s')", array( getCurrentAdminId(), - postRequestElement('title'), - postRequestElement('descr'), - postRequestElement('template'), + postRequestParameter('title'), + postRequestParameter('descr'), + postRequestParameter('template'), $START, $END, - postRequestElement('auto_add'), - postRequestElement('active'), - postRequestElement('notify'), + postRequestParameter('auto_add'), + postRequestParameter('active'), + postRequestParameter('notify'), ), __FILE__, __LINE__); // Load id $result = SQL_QUERY_ESC("SELECT `id` FROM `{?_MYSQL_PREFIX?}_rallye_data` WHERE start_time='%s' AND end_time='%s' AND `title`='%s' LIMIT 1", - array($START, $END, postRequestElement('title')), __FILE__, __LINE__); + array($START, $END, postRequestParameter('title')), __FILE__, __LINE__); list($id) = SQL_FETCHROW($result); SQL_FREERESULT($result);