Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 11 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 Owned by: boonebgorges
Priority: normal Milestone: 2.3
Component: Groups Version:
Severity: normal 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
11 years ago

  • Owner set to boonebgorges
  • Resolutionfixed
  • Status newclosed

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.