Page MenuHomePhorge

D25380.1734558690.diff
No OneTemporary

D25380.1734558690.diff

diff --git a/src/applications/search/controller/PhabricatorSearchController.php b/src/applications/search/controller/PhabricatorSearchController.php
--- a/src/applications/search/controller/PhabricatorSearchController.php
+++ b/src/applications/search/controller/PhabricatorSearchController.php
@@ -13,7 +13,7 @@
$viewer = $this->getViewer();
$query = $request->getStr('query');
- if ($request->getStr('jump') != 'no' && strlen($query)) {
+ if ($request->getStr('jump') != 'no' && phutil_nonempty_string($query)) {
$jump_uri = id(new PhabricatorDatasourceEngine())
->setViewer($viewer)
->newJumpURI($query);

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 18, 21:51 (5 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1014929
Default Alt Text
D25380.1734558690.diff (652 B)

Event Timeline