Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2693993
D25539.1734770683.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
606 B
Referenced Files
None
Subscribers
None
D25539.1734770683.diff
View Options
diff --git a/src/applications/phriction/markup/PhrictionRemarkupRule.php b/src/applications/phriction/markup/PhrictionRemarkupRule.php
--- a/src/applications/phriction/markup/PhrictionRemarkupRule.php
+++ b/src/applications/phriction/markup/PhrictionRemarkupRule.php
@@ -191,7 +191,7 @@
// If the name is something meaningful to humans, we'll render this
// in text as: "Title" <link>. Otherwise, we'll just render: <link>.
- $is_interesting_name = (bool)strlen($name);
+ $is_interesting_name = phutil_nonempty_string($name);
$target = idx($document_map, $key, null);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 08:44 (13 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1021121
Default Alt Text
D25539.1734770683.diff (606 B)
Attached To
Mode
D25539: Fix an instance of `strlen(null)`
Attached
Detach File
Event Timeline
Log In to Comment