Page MenuHomePhabricator

D20001.diff
No OneTemporary

D20001.diff

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

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)

Event Timeline