Improved register_globals handling

This commit is contained in:
Philipp Dunkel 2009-09-19 23:23:30 +00:00
parent 9fff586518
commit 5e2319f7b6

View file

@ -984,7 +984,7 @@
{
$id = 5;
showheader(_("My CAcert.org Account!"));
if(is_array($_REQUEST['revokeid']))
if(array_key_exists('revokeid',$_REQUEST) && is_array($_REQUEST['revokeid']))
{
echo _("Now revoking the following certificates:")."<br>\n";
foreach($_REQUEST['revokeid'] as $id)