Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 10 years ago

#6326 closed defect (bug) (fixed)

`groups_delete_groupmeta()` can throw notice if called without meta_key but group has no metadata

Reported by: boonebgorges's profile boonebgorges Owned by: boonebgorges's profile boonebgorges
Milestone: 2.3 Priority: normal
Severity: normal Version:
Component: Groups Keywords:
Cc:

Description

This generally doesn't happen (groups have at least a 'last_activity' value) but I stumbled upon an edge case when writing some unit tests.

Change History (1)

#1 @boonebgorges
10 years ago

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

In 9654:

Avoid PHP notices when calling groups_delete_groupmeta() on group with no metadata.

Fixes #6326.

Note: See TracTickets for help on using tickets.