Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14410914
D8458.id20063.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1021 B
Referenced Files
None
Subscribers
None
D8458.id20063.diff
View Options
diff --git a/src/applications/settings/panel/PhabricatorSettingsPanelEmailAddresses.php b/src/applications/settings/panel/PhabricatorSettingsPanelEmailAddresses.php
--- a/src/applications/settings/panel/PhabricatorSettingsPanelEmailAddresses.php
+++ b/src/applications/settings/panel/PhabricatorSettingsPanelEmailAddresses.php
@@ -161,9 +161,10 @@
$user = $request->getUser();
$e_email = true;
- $email = trim($request->getStr('email'));
+ $email = null;
$errors = array();
if ($request->isDialogFormPost()) {
+ $email = trim($request->getStr('email'));
if ($new == 'verify') {
// The user clicked "Done" from the "an email has been sent" dialog.
@@ -222,7 +223,7 @@
id(new AphrontFormTextControl())
->setLabel(pht('Email'))
->setName('email')
- ->setValue($request->getStr('email'))
+ ->setValue($email)
->setCaption(PhabricatorUserEmail::describeAllowedAddresses())
->setError($e_email));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 25, 8:22 AM (4 h, 9 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6925595
Default Alt Text
D8458.id20063.diff (1021 B)
Attached To
Mode
D8458: Don't prefill "add email address" from GET
Attached
Detach File
Event Timeline
Log In to Comment