Page MenuHomePhabricator

D13478.id32617.diff
No OneTemporary

D13478.id32617.diff

diff --git a/src/applications/policy/controller/PhabricatorPolicyExplainController.php b/src/applications/policy/controller/PhabricatorPolicyExplainController.php
--- a/src/applications/policy/controller/PhabricatorPolicyExplainController.php
+++ b/src/applications/policy/controller/PhabricatorPolicyExplainController.php
@@ -144,12 +144,8 @@
$items = array();
$items[] = $space_explanation;
- foreach ($items as $key => $item) {
- $items[$key] = phutil_tag('li', array(), $item);
- }
-
$dialog->appendParagraph(pht('Users who can see objects in this space:'));
- $dialog->appendChild(phutil_tag('ul', array(), $items));
+ $dialog->appendList($items);
$view_capability = PhabricatorPolicyCapability::CAN_VIEW;
if ($capability == $view_capability) {

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 20, 10:55 AM (17 h, 31 s)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7022718
Default Alt Text
D13478.id32617.diff (797 B)

Event Timeline