mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-25 14:08:19 +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())
|
$header = id(new PHUIHeaderView())
|
||||||
->setHeader($page_title);
|
->setHeader($page_title);
|
||||||
|
|
||||||
$prop_list = new PHUIPropertyGroupView();
|
$prop_list = null;
|
||||||
$prop_list->addPropertyList($properties);
|
if ($properties) {
|
||||||
|
$prop_list = new PHUIPropertyGroupView();
|
||||||
|
$prop_list->addPropertyList($properties);
|
||||||
|
}
|
||||||
|
|
||||||
$page_content = id(new PHUIDocumentView())
|
$page_content = id(new PHUIDocumentView())
|
||||||
->setOffset(true)
|
->setOffset(true)
|
||||||
|
|
Loading…
Add table
Reference in a new issue