Page MenuHomePhorge

D25208.1737574262.diff
No OneTemporary

D25208.1737574262.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
Wed, Jan 22, 19:31 (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1144243
Default Alt Text
D25208.1737574262.diff (842 B)

Event Timeline