Page MenuHomePhorge

D25169.1734670874.diff
No OneTemporary

D25169.1734670874.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:01 (18 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016559
Default Alt Text
D25169.1734670874.diff (582 B)

Event Timeline