Page MenuHomePhabricator

D7291.diff

diff --git a/src/applications/phriction/controller/PhrictionDocumentController.php b/src/applications/phriction/controller/PhrictionDocumentController.php
--- a/src/applications/phriction/controller/PhrictionDocumentController.php
+++ b/src/applications/phriction/controller/PhrictionDocumentController.php
@@ -162,8 +162,11 @@
$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)

File Metadata

Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/hr/33/4cjk2m4trk6vsch5
Default Alt Text
D7291.diff (726 B)

Event Timeline