Page MenuHomePhabricator

D18677.diff
No OneTemporary

D18677.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
Sat, Nov 30, 10:00 AM (21 h, 23 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6808711
Default Alt Text
D18677.diff (901 B)

Event Timeline