1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 03:50:54 +01:00

Fix an issue with rendering unit messages for diffs with no buildable

Summary: Fixes T10591. This was accidentally reverted in 148a50e48b, probably when resolvign a merge/rebase.

Test Plan: Will push to production.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10591

Differential Revision: https://secure.phabricator.com/D15474
This commit is contained in:
epriestley 2016-03-15 08:16:18 -07:00
parent a1dd1ad3cf
commit 121e68e3ad

View file

@ -1131,6 +1131,10 @@ final class DifferentialRevisionViewController extends DifferentialController {
DifferentialRevision $revision) {
$viewer = $this->getViewer();
if (!$diff->getBuildable()) {
return null;
}
if (!$diff->getUnitMessages()) {
return null;
}