X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-adminedit.php;h=f8b06dfb28bc974565f5042e8286be76a08266c5;hp=d5618fe6c1c46f4793c604c132eec4a01d76fdf7;hb=4b7f401f2a4680ae46ca41c57f749cfe35163660;hpb=09f5758c42a33a56bdd461c946ffe759a59c54aa diff --git a/inc/modules/admin/what-adminedit.php b/inc/modules/admin/what-adminedit.php index d5618fe6c1..f8b06dfb28 100644 --- a/inc/modules/admin/what-adminedit.php +++ b/inc/modules/admin/what-adminedit.php @@ -53,7 +53,7 @@ if (isGetRequestParameterSet('sub')) { } // END - if // List all menu points and make them editable -if ((isPostRequestParameterSet('edit')) && (countPostSelection() > 0) && (!isDemoModeActive())) { +if ((isFormSent('edit')l) && (countPostSelection() > 0) && (!isDemoModeActive())) { // Edit menu entries // @TODO Kill all constants in this file $content['sub'] = $SUB; @@ -103,7 +103,7 @@ if ((isPostRequestParameterSet('edit')) && (countPostSelection() > 0) && (!isDem // Load template loadTemplate('admin_amenu_edit_form', false, $content); -} elseif ((isPostRequestParameterSet('del')) && (countPostSelection() > 0) && (!isDemoModeActive())) { +} elseif ((isFormSent('del')) && (countPostSelection() > 0) && (!isDemoModeActive())) { // Prepare misc content $content['sub'] = $SUB; $content['chk'] = countPostSelection();