Actions
Bug #6318
closedonAfterFieldsFetch does not container enough information
Start date:
30 November 2016
Due date:
% Done:
100%
Estimated time:
Description
When onAfterFieldsFetch is fired the $user object is the object given to the _getTabFieldsDb function. The problem is if you're calling getFields then the user object is of the viewing user while the getFields object is $this->_cbuser. This means CB Conditional is being given the viewing user object instead of the displayed user object when testing conditions.
Including $this->_cbuser with the trigger would resolve this. onAfterTabsFetch will likely need the same fix.
Actions