Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2654333
D25395.1732621956.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
702 B
Referenced Files
None
Subscribers
None
D25395.1732621956.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 11:52 (4 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
996271
Default Alt Text
D25395.1732621956.diff (702 B)
Attached To
Mode
D25395: Fix PHP 8.1 "strlen(null)" exception on "Link External Account" page at login
Attached
Detach File
Event Timeline
Log In to Comment