• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Typo in XenForo_DataWriter_User

HWS

Well-known member
#1
In 'XenForo_DataWriter_User': line 54 'verifyUserid' should be 'verifyUserId'.

The same typo is also in XenForo_DataWriter_Follower (twice).
 
#5
It's an error that relies on a language hack that could change in a future version of PHP. History suggests PHP is getting stricter and stricter with each release.

(Anyone remember what happened to vBulletin?) :rolleyes:
 

Mike

XenForo developer
Staff member
#6
Functions (and classes) are defined to be case insensitive in PHP, so I'm not sure I'd call it a language hack but a bad decision. I can't imagine it would change unless they went the way of dropping backwards compatibility and then we'd have much more fundamental stuff to deal with (probably things like scalars as objects).

Regardless, I have changed this.