diff options
author | Michael Tänzer <neo@nhng.de> | 2013-02-26 23:44:49 +0100 |
---|---|---|
committer | Michael Tänzer <neo@nhng.de> | 2013-02-26 23:44:49 +0100 |
commit | 7b29aa39a788c978bbecbb32e936773c6eb7997d (patch) | |
tree | a403737d9bfe9ecae30b54a4c5e81b8ff5ba396a | |
parent | 805f9a155a97508c48e7185e5acc4124235b7472 (diff) | |
download | cacert-devel-7b29aa39a788c978bbecbb32e936773c6eb7997d.tar.gz cacert-devel-7b29aa39a788c978bbecbb32e936773c6eb7997d.tar.xz cacert-devel-7b29aa39a788c978bbecbb32e936773c6eb7997d.zip |
bug 1112: Get TTP Assurances received, not given.bug-1112
Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r-- | includes/wot.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/wot.inc.php b/includes/wot.inc.php index c5377ac..1c36df0 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' or `method`='TTP-Assisted') AND `from`='".intval($userid)."' "); + WHERE (`method`='Trusted Third Parties' or `method`='TTP-Assisted') AND `to`='".intval($userid)."' "); $row = query_getnextrow($res); return intval($row['list']); |