Page MenuHomePhorge

D25769.1734545332.diff
No OneTemporary

D25769.1734545332.diff

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

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)

Event Timeline