summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2012-05-23 00:54:38 +0200
committerMichael Tänzer <neo@nhng.de>2012-05-23 00:54:38 +0200
commit4d32251d6f0aa6c54498fffcb05921b0af2563db (patch)
tree5ca1ab4a1060d50b84e7ce92afd9f385aed107c7
parent8184ec34c7de1b81a5a360fbb4683f85ea59f629 (diff)
downloadcacert-devel-4d32251d6f0aa6c54498fffcb05921b0af2563db.tar.gz
cacert-devel-4d32251d6f0aa6c54498fffcb05921b0af2563db.tar.xz
cacert-devel-4d32251d6f0aa6c54498fffcb05921b0af2563db.zip
bug 1023: Mistyped variable name
Leads to the method selection always shown Signed-off-by: Michael Tänzer <neo@nhng.de>
-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 663eff2..edc442a 100644
--- a/includes/wot.inc.php
+++ b/includes/wot.inc.php
@@ -581,7 +581,7 @@ function AssureBoxLine($type,$text,$checked)
function AssureMethodLine($text,$methods,$remark)
{
- if (count($method) != 1)
+ if (count($methods) != 1)
{
?>
<tr>
@@ -600,7 +600,7 @@ function AssureMethodLine($text,$methods,$remark)
<?
} else {
?>
- <input type="hidden" name="<?=$val?>" value="<?=$method[0]?>">
+ <input type="hidden" name="<?=$val?>" value="<?=$methods[0]?>">
<?
}
}