Skip to:

Opened 6 years ago

Closed 6 years ago

#7687 closed defect (bug) (fixed)

Nouveau activity button generator incorrect sets default value for button parameter

Reported by: boonebgorges's profile boonebgorges Owned by: boonebgorges's profile boonebgorges
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Templates Keywords:


When Nouveau generates activity buttons bp_nouveau_get_activity_comment_buttons() bp_nouveau_get_activity_entry_buttons(), it sets the default value of 'parent_attr' (as passed to BP's button functions) as an empty string. But BP expects 'parent_attr' to be an array, resulting in lots of PHP notices.

Change History (1)

#1 @boonebgorges
6 years ago

  • Owner set to boonebgorges
  • Resolution set to fixed
  • Status changed from new to closed

In 11850:

Nouveau: Default value of 'parent_attr' should be an array when generating buttons.

Fixes #7687.

Note: See TracTickets for help on using tickets.