X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-guestedit.php;h=032a86eefabed2c7cf55858df898ccc28c5740a5;hb=995488beda665a1fc3de65df95f2d1ae236d1245;hp=f5ed74dbbad0f3bb2fa4e0d6040c132028110760;hpb=09f5758c42a33a56bdd461c946ffe759a59c54aa;p=mailer.git diff --git a/inc/modules/admin/what-guestedit.php b/inc/modules/admin/what-guestedit.php index f5ed74dbba..032a86eefa 100644 --- a/inc/modules/admin/what-guestedit.php +++ b/inc/modules/admin/what-guestedit.php @@ -54,7 +54,7 @@ if (isGetRequestParameterSet('sub')) { } // END - if // List all menu points and make them editable -if ((isPostRequestParameterSet('edit')) && (countPostSelection() > 0) && (!isDemoModeActive())) { +if ((isFormSent('edit')) && (countPostSelection() > 0) && (!isDemoModeActive())) { // Edit menu entries $content['sub'] = $SUB; $content['chk'] = countPostSelection(); @@ -101,7 +101,7 @@ if ((isPostRequestParameterSet('edit')) && (countPostSelection() > 0) && (!isDem // Load template loadTemplate('admin_gmenu_edit_form', false, $content); -} elseif ((isPostRequestParameterSet('del')) && (countPostSelection() > 0) && (!isDemoModeActive())) { +} elseif ((isFormSent('del')) && (countPostSelection() > 0) && (!isDemoModeActive())) { // Del menu entries with or without confirmation $content['sub'] = $SUB; $content['chk'] = countPostSelection();