Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14120755
D18677.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
901 B
Referenced Files
None
Subscribers
None
D18677.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D18677: Fix a fatal on user email settings when `account.editable` is disabled
Attached
Detach File
Event Timeline
Log In to Comment