Skip to:
Content

BuddyPress.org

Ticket #7751: 7751.patch

File 7751.patch, 627 bytes (added by pareshradadiya, 7 years ago)
  • src/bp-templates/bp-nouveau/includes/activity/template-tags.php

     
    137137function bp_nouveau_activity_hook( $when = '', $suffix = '' ) {
    138138        $hook = array( 'bp' );
    139139
    140         if ( ! $when ) {
     140        if ( $when ) {
    141141                $hook[] = $when;
    142142        }
    143143
     
    144144        // It's a activity entry hook
    145145        $hook[] = 'activity';
    146146
    147         if ( ! $suffix ) {
     147        if ( $suffix ) {
    148148                $hook[] = $suffix;
    149149        }
    150150