if (IS_FORM_SENT()) {
// Make mail editable...
$result = SQL_QUERY_ESC("SELECT subject, text, url FROM `{!_MYSQL_PREFIX!}_pool` WHERE `id`=%s LIMIT 1",
- array(bigintval(REQUEST_POST('id'))), __FILE__, __LINE__);
+ array(bigintval(REQUEST_POST('id'))), __FILE__, __LINE__);
list($subj, $text, $url) = SQL_FETCHROW($result);
SQL_FREERESULT($result);
// @TODO More constants to rewrite
text='%s',
url='%s'
WHERE `id`=%s LIMIT 1",
- array(
- REQUEST_POST('subj'),
- REQUEST_POST('text'),
- REQUEST_POST('url'),
- bigintval(REQUEST_POST('id')),
-), __FILE__, __LINE__);
+ array(
+ REQUEST_POST('subj'),
+ REQUEST_POST('text'),
+ REQUEST_POST('url'),
+ bigintval(REQUEST_POST('id')),
+ ), __FILE__, __LINE__);
if (SQL_AFFECTEDROWS() == 1) {
$content = getMessage('SETTINGS_SAVED');