Page MenuHomePhorge

D25256.1736796671.diff
No OneTemporary

D25256.1736796671.diff

diff --git a/src/applications/people/mail/PhabricatorPeopleEmailLoginMailEngine.php b/src/applications/people/mail/PhabricatorPeopleEmailLoginMailEngine.php
--- a/src/applications/people/mail/PhabricatorPeopleEmailLoginMailEngine.php
+++ b/src/applications/people/mail/PhabricatorPeopleEmailLoginMailEngine.php
@@ -64,7 +64,7 @@
$message_body = PhabricatorAuthMessage::loadMessageText(
$recipient,
$message_key);
- if (strlen($message_body)) {
+ if (phutil_nonempty_string($message_body)) {
$body[] = $this->newRemarkupText($message_body);
}

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 13, 19:31 (1 d, 13 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1108719
Default Alt Text
D25256.1736796671.diff (582 B)

Event Timeline