From cfd1348975019ceb2e4d0838f711aa3d64bd6d1c Mon Sep 17 00:00:00 2001 From: epriestley Date: Sun, 16 Aug 2015 17:59:02 -0700 Subject: [PATCH] Fix an issue with Table of Contents construction for copied files Summary: Ref T9201. Test Plan: Inspection. Reviewers: chad Reviewed By: chad Maniphest Tasks: T9201 Differential Revision: https://secure.phabricator.com/D13918 --- .../diff/view/PHUIDiffTableOfContentsItemView.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/infrastructure/diff/view/PHUIDiffTableOfContentsItemView.php b/src/infrastructure/diff/view/PHUIDiffTableOfContentsItemView.php index a029916f86..13ab61de64 100644 --- a/src/infrastructure/diff/view/PHUIDiffTableOfContentsItemView.php +++ b/src/infrastructure/diff/view/PHUIDiffTableOfContentsItemView.php @@ -267,7 +267,7 @@ final class PHUIDiffTableOfContentsItemView extends AphrontView { } } } else if ($type == DifferentialChangeType::TYPE_COPY_HERE) { - $meta = pht('Copied from %s', $changeset->getOldFile()); + $meta[] = pht('Copied from %s', $changeset->getOldFile()); } if (!$meta) {