Skip to:
Content

BuddyPress.org

Changeset 6481


Ignore:
Timestamp:
11/01/2012 08:14:21 PM (12 years ago)
Author:
boonebgorges
Message:

Use correct data type when access group count in the My Groups > Invites admin bar menu

Applies r6353 to 1.6 branch. Fixes #4417

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.6/bp-groups/bp-groups-loader.php

    r6093 r6481  
    504504
    505505            if ( !empty( $count->total ) ) {
    506                 $title   = sprintf( __( 'Groups <span class="count">%s</span>',          'buddypress' ), $count->total );
    507                 $pending = sprintf( __( 'Pending Invites <span class="count">%s</span>', 'buddypress' ), $count->total );
     506                $title   = sprintf( __( 'Groups <span class="count">%s</span>',          'buddypress' ), $count['total'] );
     507                $pending = sprintf( __( 'Pending Invites <span class="count">%s</span>', 'buddypress' ), $count['total'] );
    508508            }
    509509
Note: See TracChangeset for help on using the changeset viewer.