Page MenuHomePhorge

D25395.1732630295.diff
No OneTemporary

D25395.1732630295.diff

diff --git a/src/applications/auth/controller/PhabricatorAuthSetExternalController.php b/src/applications/auth/controller/PhabricatorAuthSetExternalController.php
--- a/src/applications/auth/controller/PhabricatorAuthSetExternalController.php
+++ b/src/applications/auth/controller/PhabricatorAuthSetExternalController.php
@@ -40,7 +40,7 @@
$text = PhabricatorAuthMessage::loadMessageText(
$viewer,
PhabricatorAuthLinkMessageType::MESSAGEKEY);
- if (!strlen($text)) {
+ if (!phutil_nonempty_string($text)) {
$text = pht(
'You can link your %s account to an external account to '.
'allow you to log in more easily in the future. To continue, choose '.

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 14:11 (6 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
996271
Default Alt Text
D25395.1732630295.diff (702 B)

Event Timeline