summaryrefslogtreecommitdiff
path: root/www/wot.php
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2011-10-25 18:53:42 +0200
committerMichael Tänzer <neo@nhng.de>2011-10-25 18:53:42 +0200
commit59b48d4d3d3f313402791109df0aac10e5dab0fa (patch)
treed509c5fa417bdf8b5a370a2355c3772219fb67dd /www/wot.php
parenteb0cf8f5b0bb418d94d026dd26ab083cfc2d60ff (diff)
downloadcacert-devel-59b48d4d3d3f313402791109df0aac10e5dab0fa.tar.gz
cacert-devel-59b48d4d3d3f313402791109df0aac10e5dab0fa.tar.xz
cacert-devel-59b48d4d3d3f313402791109df0aac10e5dab0fa.zip
bug 855: correct case for the string comparison.
Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'www/wot.php')
-rw-r--r--www/wot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/wot.php b/www/wot.php
index 7fa572f..2653f25 100644
--- a/www/wot.php
+++ b/www/wot.php
@@ -299,7 +299,7 @@
$query .= ",\n`sponsor`='".intval($_POST['sponsor'])."'";
} else if($_SESSION['profile']['board'] == 1) {
$query .= ",\n`method`='".mysql_escape_string(stripslashes($_POST['method']))."'";
- } else if($_SESSION['profile']['ttpadmin'] == 1 && ($_POST['method'] == 'Trusted 3rd Parties' || $_POST['method'] == 'Trusted third Parties')) {
+ } else if($_SESSION['profile']['ttpadmin'] == 1 && ($_POST['method'] == 'Trusted 3rd Parties' || $_POST['method'] == 'Trusted Third Parties')) {
$query .= ",\n`method`='Trusted Third Parties'";
}
mysql_query($query);