diff --git a/src/applications/project/typeahead/PhabricatorProjectDatasource.php b/src/applications/project/typeahead/PhabricatorProjectDatasource.php --- a/src/applications/project/typeahead/PhabricatorProjectDatasource.php +++ b/src/applications/project/typeahead/PhabricatorProjectDatasource.php @@ -96,7 +96,7 @@ // If we're building results for the autocompleter and this project // doesn't have any usable slugs, don't return it as a result. - if ($for_autocomplete && !strlen($slug)) { + if ($for_autocomplete && !phutil_nonempty_string($slug)) { continue; }