summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/wot.inc.php2
-rw-r--r--pages/wot/4.php4
2 files changed, 4 insertions, 2 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']);
diff --git a/pages/wot/4.php b/pages/wot/4.php
index 2bde1e1..c652731 100644
--- a/pages/wot/4.php
+++ b/pages/wot/4.php
@@ -14,7 +14,9 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-*/ ?>
+*/
+include_once("../../includes/wot.inc.php");
+?>
<h3><?=_("Trusted Third Parties")?></h3>