| 4.86 to 5.02 Upgrade Question
We upgraded our main install from 4.86 to 5.02 and had a quick question about a prior 4.86 edit.
Previously in 4.86 in member.php we went from:
if ( empty($uid) || !isset($uid) ) $uid = $User['userid'];
to
if ( empty($uid) || !isset($uid) || !is_numeric($uid) ) $uid = $User['userid'];
Looking at the member.php in 5.02 the is_numeric part isn't there on the similar line.
I assume this is because 5 uses a different method and that isn't needed but wanted to ask to make sure since it was security related.
On a related note, kudos to Michael and the rest of the team as the upgrade process was very smooth.
Thanks.
|