Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2888702
D25259.1737191672.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.1737191672.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
Sat, Jan 18, 09:14 (3 d, 1 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1115816
Default Alt Text
D25259.1737191672.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