We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97c690f commit 538d8f2Copy full SHA for 538d8f2
src/applications/phriction/controller/PhrictionDocumentController.php
@@ -162,8 +162,11 @@ public function processRequest() {
162
$header = id(new PHUIHeaderView())
163
->setHeader($page_title);
164
165
- $prop_list = new PHUIPropertyGroupView();
166
- $prop_list->addPropertyList($properties);
+ $prop_list = null;
+ if ($properties) {
167
+ $prop_list = new PHUIPropertyGroupView();
168
+ $prop_list->addPropertyList($properties);
169
+ }
170
171
$page_content = id(new PHUIDocumentView())
172
->setOffset(true)
0 commit comments