- case "edit": // Change entries
- $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_max_receive SET value='%s', comment='%s' WHERE id=%s LIMIT 1",
- array(bigintval($_POST['val'][$id]), $_POST['comm'][$id], $id),__FILE__, __LINE__);
- $TEXT = MRECEIVE_SAVED;
- break;
-
- case "del":
- $result = SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_max_receive WHERE id=%s LIMIT 1",
- array($id), __FILE__, __LINE__);
- $TEXT = MRECEIVE_DELETED;
- break;
+ case 'edit': // Change entries
+ SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_max_receive` SET value='%s', comment='%s' WHERE `id`=%s LIMIT 1",
+ array(
+ bigintval(postRequestParameter('val', $id)),
+ postRequestParameter('comm', $id),
+ $id
+ ),__FILE__, __LINE__);
+ $TEXT = getMessage('MRECEIVE_SAVED');
+ break;
+
+ case 'del':
+ SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_max_receive` WHERE `id`=%s LIMIT 1",
+ array($id), __FILE__, __LINE__);
+ $TEXT = getMessage('MRECEIVE_DELETED');
+ break;