Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2680463
D25769.1734545332.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
569 B
Referenced Files
None
Subscribers
None
D25769.1734545332.diff
View Options
diff --git a/src/applications/diviner/controller/DivinerFindController.php b/src/applications/diviner/controller/DivinerFindController.php
--- a/src/applications/diviner/controller/DivinerFindController.php
+++ b/src/applications/diviner/controller/DivinerFindController.php
@@ -58,7 +58,9 @@
if (!$atoms) {
$title_query = clone $query;
- $title_query->withTitles(array($query_text));
+ if (phutil_nonempty_string($query_text)) {
+ $title_query->withTitles(array($query_text));
+ }
$atoms = $title_query->execute();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 18, 18:08 (2 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1014903
Default Alt Text
D25769.1734545332.diff (569 B)
Attached To
Mode
D25769: Fix PHP 8.1 "str_replace(null)" exception in DivinerAtomRef
Attached
Detach File
Event Timeline
Log In to Comment