Actions
Bug #6319
closedfieldsFetch acting on wrong user object
Description
When getFields is called it triggers onAfterFieldsFetch with the viewing user object instead of the CBuser user object. This results in fields being removed from the fields array based off the privacy settings of the viewing user and not the user being displayed. This is only the case for getFields which also supplies $fieldIdOrName so ignoring this check when $fieldIdOrName is supplied will resolve this as the field will be removed on display based off the privacy settings of the user being displayed.
Updated by krileon almost 8 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Actions