diff options
author | INOPIAE <inopiae@cacert.org> | 2012-12-02 18:40:05 +0100 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2012-12-02 18:40:05 +0100 |
commit | a98bf0e4514b9f42df34c66eceeaec0ccb542953 (patch) | |
tree | f4d50e4387fcd85225b78d2ea6710d98721dfdf6 | |
parent | 7baaa9a0ac611329539a43031ca3d0e81bba2b5f (diff) | |
download | cacert-devel-a98bf0e4514b9f42df34c66eceeaec0ccb542953.tar.gz cacert-devel-a98bf0e4514b9f42df34c66eceeaec0ccb542953.tar.xz cacert-devel-a98bf0e4514b9f42df34c66eceeaec0ccb542953.zip |
bug 888: fix for new ttp method "TTP-Assisted"
-rw-r--r-- | includes/wot.inc.php | 2 | ||||
-rw-r--r-- | www/wot.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/includes/wot.inc.php b/includes/wot.inc.php index edc442a..6563778 100644 --- a/includes/wot.inc.php +++ b/includes/wot.inc.php @@ -366,6 +366,8 @@ case 'Trusted Third Parties': // to be revoked in the future? limit to max 35 pts? case '': // to be revoked in the future? limit to max 50 pts? case 'Face to Face Meeting': // normal assurances, limit to 35/50 pts in the future? + case 'TTP-Assisted': // TTP assurances, limit to 35 + case 'TOPUP': // TOPUP to be delevoped in the future, limit to 30 break; default: // should never happen ... ;-) $points = 0; diff --git a/www/wot.php b/www/wot.php index c6c0568..a8506cb 100644 --- a/www/wot.php +++ b/www/wot.php @@ -293,7 +293,7 @@ $iecho= "c"; } else if($_SESSION['profile']['board'] == 1) { $query .= ",\n`method`='".mysql_escape_string(stripslashes($_POST['method']))."'"; } else if($_SESSION['profile']['ttpadmin'] == 1 && ($_POST['method'] == 'Trusted 3rd Parties' || $_POST['method'] == 'Trusted Third Parties')) { - $query .= ",\n`method`='Trusted Third Parties'"; + $query .= ",\n`method`='TTP-Assisted'"; } mysql_query($query); fix_assurer_flag($_SESSION['_config']['notarise']['id']); |