Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2689424
D25259.1734733154.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
549 B
Referenced Files
None
Subscribers
None
D25259.1734733154.diff
View Options
diff --git a/src/infrastructure/markup/blockrule/PhutilRemarkupTableBlockRule.php b/src/infrastructure/markup/blockrule/PhutilRemarkupTableBlockRule.php
--- a/src/infrastructure/markup/blockrule/PhutilRemarkupTableBlockRule.php
+++ b/src/infrastructure/markup/blockrule/PhutilRemarkupTableBlockRule.php
@@ -114,7 +114,7 @@
if ($cell->isContentNode()) {
$content = $node->getContent();
- if (!strlen(trim($content))) {
+ if ($content === null || trim($content) === '') {
continue;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 22:19 (13 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1021225
Default Alt Text
D25259.1734733154.diff (549 B)
Attached To
Mode
D25259: Fix PHP 8.1 "trim(null)" exception which blocks rendering Conduit's harbormaster.sendmessage page
Attached
Detach File
Event Timeline
Log In to Comment