I have a problem changing the avatars on my site (D7.0.9).
If i upload a new one there in no problem but if itry to change it to a predefined site avatar i always get an "Access denied" message in the "My Avatars" section. I have checked the code and digged it down to the function "isAllowedAdd".
I echoed the array "$GLOBALS['logged']" at avatar changing and the values are not defined. This is the content of the array: Array ( [admin] => [member] => ) If i check the values anywhere else on the page they are not empty. So the if statement in the "isAllowedAdd" function will return with false.
Anyone had this issue before or an idea how to fix it?
Thanks in advance!