diff --git a/src/applications/diviner/controller/DivinerFindController.php b/src/applications/diviner/controller/DivinerFindController.php index 2e3b121706..d6ddd420fd 100644 --- a/src/applications/diviner/controller/DivinerFindController.php +++ b/src/applications/diviner/controller/DivinerFindController.php @@ -37,7 +37,7 @@ final class DivinerFindController extends DivinerController { } $type = $request->getStr('type'); - if (strlen($type)) { + if (phutil_nonempty_string($type)) { $query->withTypes(array($type)); }