Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/07/2018 03:35:14 PM (7 years ago)
Author:
boonebgorges
Message:

Pass only variables to empty() in bp-nouveau.

See #7998.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/groups/template-tags.php

    r12228 r12279  
    946946            remove_filter( 'bp_get_group_join_button', 'bp_nouveau_groups_catch_button_args', 100, 1 );
    947947
    948             if ( ! empty( bp_nouveau()->groups->button_args ) ) {
    949                 $button_args = bp_nouveau()->groups->button_args;
     948            $button_args = bp_nouveau()->groups->button_args;
     949            if ( ! empty( $button_args ) ) {
    950950
    951951                // If we pass through parent classes merge those into the existing ones
Note: See TracChangeset for help on using the changeset viewer.