X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-payments.php;h=f139aa4de75890be9caf0a3744efb568b12db31e;hp=c7f6ad608ce9e62f497ed8614aaf349baba2c599;hb=18e32f1a8971b18bace4f051094acf27800bd7d9;hpb=8cd3d68a23aa285f2fe149698a46cf8b4e3ac0ca diff --git a/inc/modules/admin/what-payments.php b/inc/modules/admin/what-payments.php index c7f6ad608c..f139aa4de7 100644 --- a/inc/modules/admin/what-payments.php +++ b/inc/modules/admin/what-payments.php @@ -89,7 +89,7 @@ if (isFormSent()) { // Output template loadTemplate('admin_settings_saved', false, $content); -} elseif ((isPostRequestParameterSet('del')) && (countPostSelection() > 0)) { +} elseif ((isFormSent('del')) && (countPostSelection() > 0)) { // Delete entries here $OUT = ''; $SW = 2; foreach (postRequestParameter('sel') as $id => $value) { @@ -113,7 +113,7 @@ if (isFormSent()) { // Load main template loadTemplate('admin_del_payments', false, $OUT); -} elseif ((isPostRequestParameterSet('edit')) && (countPostSelection() > 0)) { +} elseif ((isFormSent('edit')) && (countPostSelection() > 0)) { // Edit entries $OUT = ''; $SW = 2; foreach (postRequestParameter('sel') as $id => $value) {