Skip to:
Content

BuddyPress.org

Changeset 11850


Ignore:
Timestamp:
02/07/2018 05:07:25 PM (20 months ago)
Author:
boonebgorges
Message:

Nouveau: Default value of 'parent_attr' should be an array when generating buttons.

Fixes #7687.

File:
1 edited

Legend:

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

    r11796 r11850  
    248248        }
    249249
    250         $parent_attr = ( ! empty( $args['parent_attr'] ) ) ? $args['parent_attr']  : '';
     250        $parent_attr = ( ! empty( $args['parent_attr'] ) ) ? $args['parent_attr'] : array();
    251251
    252252        /*
     
    745745        }
    746746
    747         $parent_attr = ( ! empty( $args['parent_attr'] ) ) ? $args['parent_attr']  : '';
     747        $parent_attr = ( ! empty( $args['parent_attr'] ) ) ? $args['parent_attr'] : array();
    748748
    749749        /*
Note: See TracChangeset for help on using the changeset viewer.