1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-25 06:50:55 +01:00

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
This commit is contained in:
epriestley 2015-06-08 15:40:10 -07:00
parent 7f5919de1c
commit 929f5f22ac

View file

@ -225,7 +225,7 @@ final class DifferentialChangesetOneUpRenderer
'file' => $new_file, 'file' => $new_file,
'line' => 1, 'line' => 1,
'oline' => ($old_file ? 1 : null), 'oline' => ($old_file ? 1 : null),
'render' => $this->renderImageStage($old_file), 'render' => $this->renderImageStage($new_file),
); );
} }