summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2012-12-19 01:01:44 +0100
committerINOPIAE <inopiae@cacert.org>2012-12-19 01:01:44 +0100
commita76b65d7b33aac6a8086b8408c7da3e20cd273f2 (patch)
treeba4059392b608c7e9c93e452426d0612b179e12f /includes
parentc8f7c545c59113a57a23c9dac4341da972fbf02a (diff)
downloadcacert-devel-a76b65d7b33aac6a8086b8408c7da3e20cd273f2.tar.gz
cacert-devel-a76b65d7b33aac6a8086b8408c7da3e20cd273f2.tar.xz
cacert-devel-a76b65d7b33aac6a8086b8408c7da3e20cd273f2.zip
bug 1112: included reference to includes/wot.inc.php in pages/wot/4.php and added 2nd filter on method in get_number_TTP
Diffstat (limited to 'includes')
-rw-r--r--includes/wot.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/wot.inc.php b/includes/wot.inc.php
index 9068722..33c9259 100644
--- a/includes/wot.inc.php
+++ b/includes/wot.inc.php
@@ -44,7 +44,7 @@
function get_number_of_ttpassurances ($userid)
{
$res = query_init ("SELECT count(*) AS `list` FROM `notary`
- WHERE `method`='Trusted Third Parties' AND `from`='".intval($userid)."' ");
+ WHERE (`method`='Trusted Third Parties' or `method`='TTP-Assisted') AND `from`='".intval($userid)."' ");
$row = query_getnextrow($res);
return intval($row['list']);