Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2682431
D25210.1734659286.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
649 B
Referenced Files
None
Subscribers
None
D25210.1734659286.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
@@ -172,7 +172,7 @@
$email = null;
$errors = array();
if ($request->isDialogFormPost()) {
- $email = trim($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
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 01:48 (20 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016350
Default Alt Text
D25210.1734659286.diff (649 B)
Attached To
Mode
D25210: Fix PHP 8.1 "ltrim(null)" exception which blocks adding additional user email address
Attached
Detach File
Event Timeline
Log In to Comment