Skip to:
Content

BuddyPress.org

Changeset 6420


Ignore:
Timestamp:
10/15/2012 08:32:52 PM (12 years ago)
Author:
boonebgorges
Message:

Avoid PHP error when checking whether user is a group member.

Fixes #4577

Props jkudish

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-template.php

    r6366 r6420  
    16251625
    16261626        // Already a member
    1627         if ( $group->is_member ) {
     1627        if ( isset( $group->is_member ) && $group->is_member ) {
    16281628
    16291629            // Stop sole admins from abandoning their group
Note: See TracChangeset for help on using the changeset viewer.