Improved register_globals

pull/1/head
root 16 years ago
parent 31b22a148b
commit 0395989ea9

@ -162,7 +162,7 @@
$_SESSION['_config']['error'] = _("You failed to check all boxes to validate your adherence to the rules and policies of CAcert");
}
if($_POST['certify'] != 1 && $_SESSION['profile']['ttpadmin'] != 1)
if((!array_key_exists('certify',$_POST) || $_POST['certify'] != 1 ) && $_SESSION['profile']['ttpadmin'] != 1)
{
$id = $oldid;
$oldid=0;

Loading…
Cancel
Save