diff --git a/patches/phabricator/1382312_1.patch b/patches/phabricator/1382312_2.patch similarity index 89% rename from patches/phabricator/1382312_1.patch rename to patches/phabricator/1382312_2.patch index de4fd77..d9b6c18 100644 --- a/patches/phabricator/1382312_1.patch +++ b/patches/phabricator/1382312_2.patch @@ -1,13 +1,13 @@ diff --git a/src/applications/differential/storage/DifferentialDiff.php b/src/applications/differential/storage/DifferentialDiff.php index 8976fdd..4667e34 100644 --- a/src/applications/differential/storage/DifferentialDiff.php +++ b/src/applications/differential/storage/DifferentialDiff.php @@ -142,7 +142,7 @@ final class DifferentialDiff DifferentialDefaultViewCapability::CAPABILITY); - + $diff = id(new DifferentialDiff()) - ->setViewPolicy($view_policy); -+ ->setViewPolicy($actor->getPHID()); - ++ ->setViewPolicy($actor->getPHID() ?: $view_policy); + return $diff; }