diff --git a/src/applications/maniphest/query/ManiphestTaskSearchEngine.php b/src/applications/maniphest/query/ManiphestTaskSearchEngine.php index 6c755a74e3..c587de5c10 100644 --- a/src/applications/maniphest/query/ManiphestTaskSearchEngine.php +++ b/src/applications/maniphest/query/ManiphestTaskSearchEngine.php @@ -141,13 +141,13 @@ final class ManiphestTaskSearchEngine $datasource = id(new ManiphestTaskStatusFunctionDatasource()) ->setViewer($this->requireViewer()); - $statuses = $saved->getParameter('statuses'); + $statuses = $saved->getParameter('statuses', array()); $statuses = $datasource->evaluateTokens($statuses); if ($statuses) { $query->withStatuses($statuses); } - $priorities = $saved->getParameter('priorities'); + $priorities = $saved->getParameter('priorities', array()); if ($priorities) { $query->withPriorities($priorities); }