Page MenuHomePhabricator

D18677.id44841.diff
No OneTemporary

D18677.id44841.diff

diff --git a/src/applications/settings/panel/PhabricatorEmailAddressesSettingsPanel.php b/src/applications/settings/panel/PhabricatorEmailAddressesSettingsPanel.php
--- a/src/applications/settings/panel/PhabricatorEmailAddressesSettingsPanel.php
+++ b/src/applications/settings/panel/PhabricatorEmailAddressesSettingsPanel.php
@@ -138,9 +138,9 @@
$editable,
));
- $button = null;
+ $buttons = array();
if ($editable) {
- $button = id(new PHUIButtonView())
+ $buttons[] = id(new PHUIButtonView())
->setTag('a')
->setIcon('fa-plus')
->setText(pht('Add New Address'))
@@ -149,7 +149,7 @@
->setColor(PHUIButtonView::GREY);
}
- return $this->newBox(pht('Email Addresses'), $table, array($button));
+ return $this->newBox(pht('Email Addresses'), $table, $buttons);
}
private function returnNewAddressResponse(

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 4, 1:50 PM (1 d, 1 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7732109
Default Alt Text
D18677.id44841.diff (901 B)

Event Timeline