From e791850699ce0caf52e411cac384b21bda477c7e Mon Sep 17 00:00:00 2001 From: root Date: Sun, 16 Mar 2008 18:38:24 +0000 Subject: [PATCH] Removed the board requirement for TTP --- www/wot.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'] == "") {