-if ((SQL_NUMROWS($result_main) > 0) || (isPostRequestElementSet('lock'))) {
- if (isPostRequestElementSet('accept')) {
+if ((SQL_NUMROWS($result_main) > 0) || (isPostRequestParameterSet('lock'))) {
+ if (isPostRequestParameterSet('accept')) {
// Mails unlocked for mail delivery
loadTemplate('admin_settings_saved', false, $message);
// Mails unlocked for mail delivery
loadTemplate('admin_settings_saved', false, $message);
sendEmail($content['sender'], getMessage('MEMBER_ORDER_REJECTED'), $message_user);
// If you do not enter an URL to redirect to, your URL will be set!
sendEmail($content['sender'], getMessage('MEMBER_ORDER_REJECTED'), $message_user);
// If you do not enter an URL to redirect to, your URL will be set!
// Redirect URL
SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_pool` SET url='%s', `data_type`='NEW' WHERE `id`=%s LIMIT 1",
// Redirect URL
SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_pool` SET url='%s', `data_type`='NEW' WHERE `id`=%s LIMIT 1",
- array(postRequestElement('redirect'), $id),__FILE__, __LINE__);
+ array(postRequestParameter('redirect'), $id),__FILE__, __LINE__);
// URL blacklist not activated
loadTemplate('admin_settings_saved', false, getMessage('ADMIN_URL_BLACKLIST_DISABLED'));
} else {
// URL blacklist not activated
loadTemplate('admin_settings_saved', false, getMessage('ADMIN_URL_BLACKLIST_DISABLED'));
} else {