Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2979427
D25867.1739853423.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
815 B
Referenced Files
None
Subscribers
None
D25867.1739853423.diff
View Options
diff --git a/src/applications/auth/xaction/PhabricatorAuthFactorProviderNameTransaction.php b/src/applications/auth/xaction/PhabricatorAuthFactorProviderNameTransaction.php
--- a/src/applications/auth/xaction/PhabricatorAuthFactorProviderNameTransaction.php
+++ b/src/applications/auth/xaction/PhabricatorAuthFactorProviderNameTransaction.php
@@ -17,12 +17,12 @@
$old = $this->getOldValue();
$new = $this->getNewValue();
- if (!strlen($old)) {
+ if (!phutil_nonempty_string($old)) {
return pht(
'%s named this provider %s.',
$this->renderAuthor(),
$this->renderNewValue());
- } else if (!strlen($new)) {
+ } else if (!phutil_nonempty_string($new)) {
return pht(
'%s removed the name (%s) of this provider.',
$this->renderAuthor(),
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 18, 04:37 (6 d, 3 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1165146
Default Alt Text
D25867.1739853423.diff (815 B)
Attached To
Mode
D25867: Fix PHP 8.1 "strlen(null)" exception in Feed setting up MFA
Attached
Detach File
Event Timeline
Log In to Comment