Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/07/2016 09:34:55 PM (8 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-template.php

    r11176 r11186  
    250250        if ( $types = bp_groups_get_group_type( $group_id, false ) ) {
    251251            // Make sure we can show the type in the list.
    252             if ( false === $show_all ) {
     252            if ( false === $r['show_all'] ) {
    253253                $types = array_intersect( bp_groups_get_group_types( array( 'show_in_list' => true ) ), $types );
    254254                if ( empty( $types ) ) {
Note: See TracChangeset for help on using the changeset viewer.