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:
parent
97c690fc0f
commit
538d8f27b5
1 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue