Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14122743
D20001.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
799 B
Referenced Files
None
Subscribers
None
D20001.diff
View Options
diff --git a/src/applications/people/controller/PhabricatorPeopleWelcomeController.php b/src/applications/people/controller/PhabricatorPeopleWelcomeController.php
--- a/src/applications/people/controller/PhabricatorPeopleWelcomeController.php
+++ b/src/applications/people/controller/PhabricatorPeopleWelcomeController.php
@@ -51,7 +51,7 @@
$default_message = PhabricatorAuthMessage::loadMessage(
$admin,
PhabricatorAuthWelcomeMailMessageType::MESSAGEKEY);
- if (strlen($default_message->getMessageText())) {
+ if ($default_message && strlen($default_message->getMessageText())) {
$message_instructions = pht(
'The email will identify you as the sender. You may optionally '.
'replace the [[ %s | default custom mail body ]] with different text '.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 30, 6:47 PM (11 h, 54 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6810159
Default Alt Text
D20001.diff (799 B)
Attached To
Mode
D20001: Fix "Welcome Mail" check for a message when no message exists
Attached
Detach File
Event Timeline
Log In to Comment