Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2685104
D25202.1734699949.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.1734699949.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
Fri, Dec 20, 13:05 (21 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1018306
Default Alt Text
D25202.1734699949.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