- SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_rallye_prices` SET rallye_id=%s, price_`level`='%s', points='%s', info='%s' WHERE `id`=%s LIMIT 1",
- array(
- postRequestElement('rallye_id', $id),
- bigintval($level),
- postRequestElement('points', $id),
- postRequestElement('infos', $id),
- $id
- ), __FILE__, __LINE__);
+ SQL_QUERY_ESC("UPDATE
+ `{?_MYSQL_PREFIX?}_rallye_prices`
+SET
+ `rallye_id`=%s,
+ `price_level`=%d,
+ `points`=%s,
+ `info`='%s'
+WHERE
+ `id`=%s
+LIMIT 1",
+ array(
+ postRequestParameter('rallye_id', $id),
+ bigintval($level),
+ postRequestParameter('points', $id),
+ postRequestParameter('infos', $id),
+ $id
+ ), __FILE__, __LINE__);