Improved register_globals

pull/1/head
root 16 years ago
parent 82c0621a06
commit d8cee2acfc

@ -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:")."<br>
("._("Any valid certificates will be revoked as well").")<br>\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:")."<br>\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:")."<br>\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:")."<br>\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:")."<br>\n";
foreach($_REQUEST['delid'] as $id)

Loading…
Cancel
Save