diff --git a/includes/account.php b/includes/account.php index e752b96..5ab2523 100644 --- a/includes/account.php +++ b/includes/account.php @@ -542,7 +542,7 @@ { $id = 9; showheader(_("My CAcert.org Account!")); - if(is_array($_REQUEST['delid'])) + if(array_key_exists('delid',$_REQUEST) && is_array($_REQUEST['delid'])) { echo _("The following domains have been removed:")."
("._("Any valid certificates will be revoked as well").")
\n"; @@ -846,7 +846,7 @@ echo _("You did not select any certificates for revocation."); } - if(is_array($_REQUEST['delid'])) + if(array_key_exists('delid',$_REQUEST) && is_array($_REQUEST['delid'])) { echo _("Now deleting the following pending requests:")."
\n"; foreach($_REQUEST['delid'] as $id) @@ -974,7 +974,7 @@ echo _("You did not select any certificates for revocation."); } - if(is_array($_REQUEST['delid'])) + if(array_key_exists('delid',$_REQUEST) && is_array($_REQUEST['delid'])) { echo _("Now deleting the following pending requests:")."
\n"; foreach($_REQUEST['delid'] as $id) @@ -1522,7 +1522,7 @@ echo _("You did not select any certificates for revocation."); } - if(is_array($_REQUEST['delid'])) + if(array_key_exists('delid',$_REQUEST) && is_array($_REQUEST['delid'])) { echo _("Now deleting the following pending requests:")."
\n"; foreach($_REQUEST['delid'] as $id) @@ -1808,7 +1808,7 @@ echo _("You did not select any certificates for revocation."); } - if(is_array($_REQUEST['delid'])) + if(array_key_exists('delid',$_REQUEST) && is_array($_REQUEST['delid'])) { echo _("Now deleting the following pending requests:")."
\n"; foreach($_REQUEST['delid'] as $id)