diff --git a/src/infrastructure/diff/view/inline/PhabricatorInlineSummaryView.php b/src/infrastructure/diff/view/inline/PhabricatorInlineSummaryView.php index 0688a18469..5ea443c2da 100644 --- a/src/infrastructure/diff/view/inline/PhabricatorInlineSummaryView.php +++ b/src/infrastructure/diff/view/inline/PhabricatorInlineSummaryView.php @@ -21,7 +21,11 @@ final class PhabricatorInlineSummaryView extends AphrontView { private $groups = array(); public function addCommentGroup($name, array $items) { - $this->groups[$name] = $items; + if (!isset($this->groups[$name])) { + $this->groups[$name] = $items; + } else { + $this->groups[$name] = array_merge($this->groups[$name], $items); + } return $this; }