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