diff --git a/www/wot.php b/www/wot.php index db94e6b..4a7e950 100644 --- a/www/wot.php +++ b/www/wot.php @@ -157,7 +157,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']['board'] != 1 && $_SESSION['profile']['ttpadmin'] != 1) + if($_POST['certify'] != 1 && $_SESSION['profile']['ttpadmin'] != 1) { $id = $oldid; unset($oldid); @@ -165,7 +165,7 @@ } } - if($oldid == 6 && $_SESSION['profile']['board'] != 1 && $_SESSION['profile']['ttpadmin'] != 1) + if($oldid == 6 && $_SESSION['profile']['ttpadmin'] != 1) { if($_POST['location'] == "") {