bug 1112: included reference to includes/wot.inc.php in pages/wot/4.php and added...
authorINOPIAE <inopiae@cacert.org>
Wed, 19 Dec 2012 00:01:44 +0000 (01:01 +0100)
committerINOPIAE <inopiae@cacert.org>
Wed, 19 Dec 2012 00:01:44 +0000 (01:01 +0100)
includes/wot.inc.php
pages/wot/4.php

index 9068722..33c9259 100644 (file)
@@ -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']);
index 2bde1e1..c652731 100644 (file)
@@ -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>