View Single Post
  #1  
Old 18 Mar 2017, 14:39
TopFloorDjs's Avatar
TopFloorDjs TopFloorDjs is offline
 
Join Date: Sep 2008
Real name: Brad
$var = $var unexpected result

I run a vBulletin plugin that has always worked fine until recently i upgraded Apache and PHP from 5.4 to 5.5 and suddonly a calculation isnt working the way it should do:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Instead of $RuserMinus being the result of $Ruser -1 it's replacing the value with -1 so $RUserMinus = "-1" instead of the result.

FULL SCRIPT


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by TopFloorDjs; 18 Mar 2017 at 15:57.
Reply With Quote