1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 05:12:41 +01:00

Fix a possible undefined variable

Summary: Fixes T7881.

Test Plan: Inspection.

Reviewers: btrahan, joshuaspence

Reviewed By: joshuaspence

Subscribers: epriestley

Maniphest Tasks: T7881

Differential Revision: https://secure.phabricator.com/D12500
This commit is contained in:
epriestley 2015-04-21 19:28:43 -07:00
parent 1fbcfb79df
commit 4dea152215

View file

@ -175,6 +175,7 @@ final class DifferentialChangesetViewController extends DifferentialController {
$can_mark = false;
$object_owner_phid = null;
$revision = null;
if ($revision_id) {
$revision = id(new DifferentialRevisionQuery())
->setViewer($viewer)