Skip to:
Content

Changeset 6431


Ignore:
Timestamp:
10/19/12 00:03:08 (18 months 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.