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

Fix empty property list in Phriction

Summary: Fixes T3944

Test Plan: Will test on secure

Reviewers: epriestley, staticshock

CC: Korvin, epriestley, aran

Maniphest Tasks: T3944

Differential Revision: https://secure.phabricator.com/D7291
This commit is contained in:
Chad Little 2013-10-11 14:20:21 -07:00
parent 97c690fc0f
commit 538d8f27b5

View file

@ -162,8 +162,11 @@ final class PhrictionDocumentController
$header = id(new PHUIHeaderView())
->setHeader($page_title);
$prop_list = new PHUIPropertyGroupView();
$prop_list->addPropertyList($properties);
$prop_list = null;
if ($properties) {
$prop_list = new PHUIPropertyGroupView();
$prop_list->addPropertyList($properties);
}
$page_content = id(new PHUIDocumentView())
->setOffset(true)