Skip to:
Content

BuddyPress.org

Changeset 6431


Ignore:
Timestamp:
10/19/2012 12:03:08 AM (12 years ago)
Author:
boonebgorges
Message:

Pass missing param to BP_Activity_Activity::get_comments()

Fixes #4600

Props sboisvert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-classes.php

    r6410 r6431  
    456456        foreach( (array) $activities as $activity ) {
    457457            $top_level_parent_id = 'activity_comment' == $activity->type ? $activity->item_id : 0;
    458             $activity_comments[$activity->id] = BP_Activity_Activity::get_activity_comments( $activity->id, $activity->mptt_left, $activity->mptt_right, $spam );
     458            $activity_comments[$activity->id] = BP_Activity_Activity::get_activity_comments( $activity->id, $activity->mptt_left, $activity->mptt_right, $spam, $top_level_parent_id );
    459459        }
    460460
Note: See TracChangeset for help on using the changeset viewer.