// Add description as navigation point
ADD_DESCR('admin', __FILE__);
-if ((IS_FORM_SENT()) && (!REQUEST_ISSET_POST('id'))) {
+if ((isFormSent()) && (!REQUEST_ISSET_POST('id'))) {
REQUEST_UNSET_POST('ok');
}
$result = SQL_QUERY("SELECT id, sender, subject, payment_id, cat_id FROM `{!_MYSQL_PREFIX!}_pool` ORDER BY timestamp", __FILE__, __LINE__);
if (SQL_NUMROWS($result) > 0) {
- if (IS_FORM_SENT()) {
+ if (isFormSent()) {
// 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__);