Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/07/2016 09:34:55 PM (4 years ago)
Author:
r-a-y
Message:

Groups: Fix various notices during implementation of group types.

Props danbp.

See #7210. Fixes #7281.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-admin.php

    r11176 r11186  
    10481048
    10491049    $types         = bp_groups_get_group_types( array(), 'objects' );
    1050     $current_types = bp_groups_get_group_type( $group->id, false );
     1050    $current_types = (array) bp_groups_get_group_type( $group->id, false );
    10511051    $backend_only  = bp_groups_get_group_types( array( 'show_in_create_screen' => false ) );
    10521052    ?>
Note: See TracChangeset for help on using the changeset viewer.