Skip to:
Content

BuddyPress.org

Opened 3 years ago

Closed 3 years ago

#8639 closed defect (bug) (fixed)

Type error in `bp_remove_member_type()`

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 10.1.0 Priority: normal
Severity: normal Version: 2.3.0
Component: Members Keywords: has-patch has-unit-tests
Cc:

Description

Attachments (1)

8639.patch (1.2 KB) - added by imath 3 years ago.

Download all attachments as: .zip

Change History (3)

@imath
3 years ago

#1 @imath
3 years ago

In 13239:

Make sure member has a type before trying to remove one

Avoid a PHP Type error if the member has no member types and the Administrator (or more probably a plugin) tries to remove it.

Props sx1001

See #8639 (trunk)

#2 @imath
3 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 13240:

Make sure member has a type before trying to remove one

Avoid a PHP Type error if the member has no member types and the Administrator (or more probably a plugin) tries to remove it.

Props sx1001

Fixes #8639 (branch 10.0)

Note: See TracTickets for help on using tickets.