Subject: fix php code bug, replace comparison by assignment.
This commit is contained in:
parent
e3487650fc
commit
7b7b3dfbd2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue