Page MenuHomePhorge

D25208.1731987186.diff
No OneTemporary

D25208.1731987186.diff

diff --git a/src/applications/people/mail/PhabricatorPeopleWelcomeMailEngine.php b/src/applications/people/mail/PhabricatorPeopleWelcomeMailEngine.php
--- a/src/applications/people/mail/PhabricatorPeopleWelcomeMailEngine.php
+++ b/src/applications/people/mail/PhabricatorPeopleWelcomeMailEngine.php
@@ -118,14 +118,14 @@
$recipient = $this->getRecipient();
$custom_body = $this->getWelcomeMessage();
- if (strlen($custom_body)) {
+ if (phutil_nonempty_string($custom_body)) {
return $this->newRemarkupText($custom_body);
}
$default_body = PhabricatorAuthMessage::loadMessageText(
$recipient,
PhabricatorAuthWelcomeMailMessageType::MESSAGEKEY);
- if (strlen($default_body)) {
+ if (phutil_nonempty_string($default_body)) {
return $this->newRemarkupText($default_body);
}

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 03:33 (17 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
977074
Default Alt Text
D25208.1731987186.diff (842 B)

Event Timeline