Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2696588
D25202.1734885069.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
490 B
Referenced Files
None
Subscribers
None
D25202.1734885069.diff
View Options
diff --git a/src/applications/transactions/storage/PhabricatorModularTransactionType.php b/src/applications/transactions/storage/PhabricatorModularTransactionType.php
--- a/src/applications/transactions/storage/PhabricatorModularTransactionType.php
+++ b/src/applications/transactions/storage/PhabricatorModularTransactionType.php
@@ -339,7 +339,7 @@
$value = $xaction->getNewValue();
}
- return !strlen($value);
+ return !phutil_nonempty_string($value);
}
/**
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 22, 16:31 (3 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1026136
Default Alt Text
D25202.1734885069.diff (490 B)
Attached To
Mode
D25202: Fix PHP 8.1 "strlen(null)" exception which blocks rendering error pages for Packages' Create Package and Fund's Create Initiative
Attached
Detach File
Event Timeline
Log In to Comment