From 4dea152215cc008239ddc5fcccd5742c9243fb1e Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 21 Apr 2015 19:28:43 -0700 Subject: [PATCH] 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 --- .../controller/DifferentialChangesetViewController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/applications/differential/controller/DifferentialChangesetViewController.php b/src/applications/differential/controller/DifferentialChangesetViewController.php index fc0536902c..0c02da5b55 100644 --- a/src/applications/differential/controller/DifferentialChangesetViewController.php +++ b/src/applications/differential/controller/DifferentialChangesetViewController.php @@ -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)