From 929f5f22acefdf1064b9c91d1346a357123b42e6 Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 8 Jun 2015 15:40:10 -0700 Subject: [PATCH] Fix an issue with adding or updating images in unified diff view Summary: Fixes T8069. Test Plan: Viewed a new image in unified diff view. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T8069 Differential Revision: https://secure.phabricator.com/D13217 --- .../differential/render/DifferentialChangesetOneUpRenderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/differential/render/DifferentialChangesetOneUpRenderer.php b/src/applications/differential/render/DifferentialChangesetOneUpRenderer.php index dfc990d4d4..a53846aeaa 100644 --- a/src/applications/differential/render/DifferentialChangesetOneUpRenderer.php +++ b/src/applications/differential/render/DifferentialChangesetOneUpRenderer.php @@ -225,7 +225,7 @@ final class DifferentialChangesetOneUpRenderer 'file' => $new_file, 'line' => 1, 'oline' => ($old_file ? 1 : null), - 'render' => $this->renderImageStage($old_file), + 'render' => $this->renderImageStage($new_file), ); }