- 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(
- REQUEST_POST('rallye_id', $id),
- bigintval($level),
- REQUEST_POST('points', $id]),
- REQUEST_POST('infos', $id),
- $id
- ), __FILE__, __LINE__);
+ 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(
+ REQUEST_POST('rallye_id', $id),
+ bigintval($level),
+ REQUEST_POST('points', $id),
+ REQUEST_POST('infos', $id),
+ $id
+ ), __FILE__, __LINE__);