View Full Version : Call-time pass-by-reference deprecated

22 Dec 2009, 18:00
I am getting some PH Warnings in my php logs:
[22-Dec-2009 18:53:56] PHP Warning: Call-time pass-by-reference has been deprecated
It's about this line in my custom modification:

Code is only visible to licensed users, and only when logged into the forums.

What is the correct way of using "fetch_avatar_from_userinfo()"?
The API recommends it the way I used it.

void fetch_avatar_from_userinfo (array &$userinfo, [boolean $thumb = false], [boolean $returnfakeavatar = true])