Page MenuHomePhorge

D25210.1734779819.diff
No OneTemporary

D25210.1734779819.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
@@ -172,7 +172,9 @@
$email = null;
$errors = array();
if ($request->isDialogFormPost()) {
- $email = trim($request->getStr('email'));
+ if ($request->getStr('email')) {
+ $email = trim($request->getStr('email'));
+ }
if ($new == 'verify') {
// The user clicked "Done" from the "an email has been sent" dialog.

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 11:16 (8 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1024579
Default Alt Text
D25210.1734779819.diff (696 B)

Event Timeline