Skip to:
Content

BuddyPress.org

Ticket #4600: 4600.02.patch

File 4600.02.patch, 548 bytes (added by r-a-y, 13 years ago)
  • bp-activity/bp-activity-classes.php

    class BP_Activity_Activity { 
    523523
    524524                                // If we don't have a reference on the parent, put in the root level
    525525                                } else {
     526                                        // Make sure we don't add the current activity ID into the comment tree
     527                                        if ( $d->id == $activity_id )
     528                                                continue;
     529
    526530                                        $comments[ $d->id ] = $d;
    527531                                        $ref[ $d->id ] =& $comments[ $d->id ];
    528532                                }