Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2878914
D25218.1737033043.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
646 B
Referenced Files
None
Subscribers
None
D25218.1737033043.diff
View Options
diff --git a/src/applications/auth/controller/mfa/PhabricatorAuthFactorProviderViewController.php b/src/applications/auth/controller/mfa/PhabricatorAuthFactorProviderViewController.php
--- a/src/applications/auth/controller/mfa/PhabricatorAuthFactorProviderViewController.php
+++ b/src/applications/auth/controller/mfa/PhabricatorAuthFactorProviderViewController.php
@@ -83,7 +83,7 @@
$custom_enroll = $provider->getEnrollMessage();
- if (strlen($custom_enroll)) {
+ if (phutil_nonempty_string($custom_enroll)) {
$view->addSectionHeader(
pht('Custom Enroll Message'),
PHUIPropertyListView::ICON_SUMMARY);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 16, 13:10 (1 d, 23 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1118487
Default Alt Text
D25218.1737033043.diff (646 B)
Attached To
Mode
D25218: Fix PHP 8.1 "strlen(null)" exception which blocks rendering MFA Provider page
Attached
Detach File
Event Timeline
Log In to Comment