Skip to:
Content

BuddyPress.org

Changeset 9538


Ignore:
Timestamp:
02/23/2015 06:55:46 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Activity: Use bp_get_current_group_id() in bp_has_activities(). See r9536.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-template.php

    r9537 r9538  
    625625    if ( groups_get_current_group() ) {
    626626        $object      = $bp->groups->id;
    627         $primary_id  = bp_current_group_id();
     627        $primary_id  = bp_get_current_group_id();
    628628        $show_hidden = (bool) ( groups_is_user_member( bp_loggedin_user_id(), $primary_id ) || bp_current_user_can( 'bp_moderate' ) );
    629629    } else {
Note: See TracChangeset for help on using the changeset viewer.