Clear object view cache when adding collaboration message
Fix PHP warning