diff --git a/src/bp-activity/bp-activity-template.php b/src/bp-activity/bp-activity-template.php
index f59004e89..1ff7c63fd 100644
|
a
|
b
|
function bp_has_activities( $args = '' ) { |
| 213 | 213 | : false; |
| 214 | 214 | |
| 215 | 215 | // Group filtering. |
| 216 | | if ( bp_is_group() ) { |
| | 216 | if ( bp_is_active( 'groups' ) ) { |
| 217 | 217 | $object = $bp->groups->id; |
| 218 | 218 | $primary_id = bp_get_current_group_id(); |
| 219 | 219 | $show_hidden = (bool) ( groups_is_user_member( bp_loggedin_user_id(), $primary_id ) || bp_current_user_can( 'bp_moderate' ) ); |