summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2012-04-17 23:35:21 +0200
committerMichael Tänzer <neo@nhng.de>2012-04-17 23:35:21 +0200
commiteec8a7dd2f181b6c39c519038c85b357e7f1b951 (patch)
tree6bb2964221c20202de916c400b1fd0433428544c /includes
parentb13ba4765ca619e1035700eb6e5f87268fc5977a (diff)
downloadcacert-devel-eec8a7dd2f181b6c39c519038c85b357e7f1b951.tar.gz
cacert-devel-eec8a7dd2f181b6c39c519038c85b357e7f1b951.tar.xz
cacert-devel-eec8a7dd2f181b6c39c519038c85b357e7f1b951.zip
bug 1023: convert flag to int before comparison
Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'includes')
-rw-r--r--includes/wot.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/wot.inc.php b/includes/wot.inc.php
index 4cd1a67..5ed093e 100644
--- a/includes/wot.inc.php
+++ b/includes/wot.inc.php
@@ -581,7 +581,7 @@ function AssureBoxLine($type,$text)
function AssureMethodLine($text,$methods,$remark,$flag)
{
- if ($flag === 1)
+ if (intval($flag) === 1)
{
?>
<tr>