diff --git a/www/wot.php b/www/wot.php index e682358..d8c8af8 100644 --- a/www/wot.php +++ b/www/wot.php @@ -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;