bug 855: correct case for the string comparison.
authorMichael Tänzer <neo@nhng.de>
Tue, 25 Oct 2011 16:53:42 +0000 (18:53 +0200)
committerMichael Tänzer <neo@nhng.de>
Tue, 25 Oct 2011 16:53:42 +0000 (18:53 +0200)
Signed-off-by: Michael Tänzer <neo@nhng.de>
www/wot.php

index 7fa572f..2653f25 100644 (file)
                        $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);