summaryrefslogtreecommitdiff
path: root/includes/wot.inc.php
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2013-02-20 15:52:30 +0100
committerMichael Tänzer <neo@nhng.de>2013-02-20 15:52:30 +0100
commit805f9a155a97508c48e7185e5acc4124235b7472 (patch)
tree81a94cd8ea39d9b7ef5465ce63a4b32046d44254 /includes/wot.inc.php
parent63738c4b44d52d40a5b4d9230d54d70c26c7dc05 (diff)
downloadcacert-devel-805f9a155a97508c48e7185e5acc4124235b7472.tar.gz
cacert-devel-805f9a155a97508c48e7185e5acc4124235b7472.tar.xz
cacert-devel-805f9a155a97508c48e7185e5acc4124235b7472.zip
bug 1112: Fix things popped up in review:
- whitespace/indentation - require vs. include and possible issue with relative path - wording - intval($id) - unnecessary change of language while the text is not sent through gettext anyway - do not use mysql_escape_string on email body - make strings easier to translate Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'includes/wot.inc.php')
-rw-r--r--includes/wot.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/wot.inc.php b/includes/wot.inc.php
index 33c9259..c5377ac 100644
--- a/includes/wot.inc.php
+++ b/includes/wot.inc.php
@@ -44,9 +44,9 @@
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 `from`='".intval($userid)."' ");
$row = query_getnextrow($res);
-
+
return intval($row['list']);
}