diff options
author | INOPIAE <inopiae@cacert.org> | 2012-12-19 01:01:44 +0100 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2012-12-19 01:01:44 +0100 |
commit | a76b65d7b33aac6a8086b8408c7da3e20cd273f2 (patch) | |
tree | ba4059392b608c7e9c93e452426d0612b179e12f | |
parent | c8f7c545c59113a57a23c9dac4341da972fbf02a (diff) | |
download | cacert-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
-rw-r--r-- | includes/wot.inc.php | 2 | ||||
-rw-r--r-- | pages/wot/4.php | 4 |
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> |