summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2013-08-24 15:41:19 +0200
committerMichael Tänzer <neo@nhng.de>2013-08-24 15:41:19 +0200
commit69c7c9d069da887f238f51cd44ad1e07960f044e (patch)
tree84a776ca09b7ad0c5fae921145f00fd4aefd03b0
parent35a1e4c80c870b6f956903d61b1999ecf67d6d51 (diff)
downloadcacert-devel-69c7c9d069da887f238f51cd44ad1e07960f044e.tar.gz
cacert-devel-69c7c9d069da887f238f51cd44ad1e07960f044e.tar.xz
cacert-devel-69c7c9d069da887f238f51cd44ad1e07960f044e.zip
bug 1137: setting the "certify" check box should depend on the method selected not on
whether one is TTP Assurer Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r--www/wot.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/wot.php b/www/wot.php
index daba46a..4574221 100644
--- a/www/wot.php
+++ b/www/wot.php
@@ -126,7 +126,7 @@ function send_reminder()
if($oldid == 12)
$id = $oldid;
-
+
if($oldid == 4)
{
if ($_POST['ttp']!='') {
@@ -278,7 +278,7 @@ $iecho= "c";
}
//met assuree in person, not appliciable fot TTP / TTP Topup assurances
- if((!array_key_exists('certify',$_POST) || $_POST['certify'] != 1 ) && $_SESSION['profile']['ttpadmin'] != 1)
+ if((!array_key_exists('certify',$_POST) || $_POST['certify'] != 1 ) && $_REQUEST['method'] != "Trusted 3rd Parties")
{
show_page("VerifyData","",_("You failed to check all boxes to validate your adherence to the rules and policies of CAcert"));
exit;