From 7b7b3dfbd2a79f0675af5a4001bbad5334b1ac6f Mon Sep 17 00:00:00 2001 From: Wytze van der Raay Date: Thu, 7 Oct 2010 12:41:02 +0000 Subject: [PATCH] Ticket: https://bugs.cacert.org/view.php?id=867 Subject: fix php code bug, replace comparison by assignment. --- www/wot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/wot.php b/www/wot.php index 25eb213..2bd4622 100644 --- a/www/wot.php +++ b/www/wot.php @@ -245,7 +245,7 @@ if($_SESSION['profile']['board'] == 1 && intval($_POST['expire']) > 0) { - $_POST['method'] == "Administrative Increase"; + $_POST['method'] = "Administrative Increase"; $newpoints = 200 - $drow['total']; if(intval($_POST['expire']) > 45) $_POST['expire'] = 45;