Page MenuHomePhorge

D25169.1734671725.diff
No OneTemporary

D25169.1734671725.diff

diff --git a/src/applications/search/engine/PhabricatorApplicationSearchEngine.php b/src/applications/search/engine/PhabricatorApplicationSearchEngine.php
--- a/src/applications/search/engine/PhabricatorApplicationSearchEngine.php
+++ b/src/applications/search/engine/PhabricatorApplicationSearchEngine.php
@@ -872,7 +872,7 @@
protected function readBoolFromRequest(
AphrontRequest $request,
$key) {
- if (!strlen($request->getStr($key))) {
+ if (!phutil_nonempty_string($request->getStr($key))) {
return null;
}
return $request->getBool($key);

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 05:15 (18 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016559
Default Alt Text
D25169.1734671725.diff (582 B)

Event Timeline