From 39a4d5b8c1bb36cb29d9e48c83c7f90be4836edc Mon Sep 17 00:00:00 2001 From: epriestley Date: Fri, 25 Mar 2016 15:45:53 -0700 Subject: [PATCH] Fix unit test view detail fatal Summary: Fixes T10674. Test Plan: {F1190743} Reviewers: chad Reviewed By: chad Maniphest Tasks: T10674 Differential Revision: https://secure.phabricator.com/D15525 --- .../controller/HarbormasterUnitMessageViewController.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/applications/harbormaster/controller/HarbormasterUnitMessageViewController.php b/src/applications/harbormaster/controller/HarbormasterUnitMessageViewController.php index d344422dd5..d1bac8f874 100644 --- a/src/applications/harbormaster/controller/HarbormasterUnitMessageViewController.php +++ b/src/applications/harbormaster/controller/HarbormasterUnitMessageViewController.php @@ -106,9 +106,7 @@ final class HarbormasterUnitMessageViewController PHUIPropertyListView::ICON_TESTPLAN); $view->addTextContent($details); - return id(new PHUIObjectBoxView()) - ->setHeaderText(pht('PROPERTIES')) - ->appendChild($view); + return $view; } private function buildCurtainView(