diff --git a/bp-activity/bp-activity-template.php b/bp-activity/bp-activity-template.php
index 8dd1540..4a0f95c 100644
a
|
b
|
function bp_activity_secondary_avatar( $args = '' ) { |
1061 | 1061 | $object = 'group'; |
1062 | 1062 | $item_id = $activities_template->activity->item_id; |
1063 | 1063 | |
1064 | | if ( empty( $alt ) ) { |
| 1064 | if ( empty( $alt ) && bp_is_active( 'groups' ) ) { |
1065 | 1065 | $group = groups_get_group( $item_id ); |
1066 | 1066 | if ( isset( $group->name ) ) { |
1067 | 1067 | $alt = sprintf( __( 'Group logo of %s', 'buddypress' ), $group->name ); |