Subject: fix php code bug, replace comparison by assignment.
This commit is contained in:
Wytze van der Raay 2010-10-07 12:41:02 +00:00
parent e3487650fc
commit 7b7b3dfbd2

View file

@ -245,7 +245,7 @@
if($_SESSION['profile']['board'] == 1 && intval($_POST['expire']) > 0) if($_SESSION['profile']['board'] == 1 && intval($_POST['expire']) > 0)
{ {
$_POST['method'] == "Administrative Increase"; $_POST['method'] = "Administrative Increase";
$newpoints = 200 - $drow['total']; $newpoints = 200 - $drow['total'];
if(intval($_POST['expire']) > 45) if(intval($_POST['expire']) > 45)
$_POST['expire'] = 45; $_POST['expire'] = 45;