Page MenuHomePhabricator

D12539.diff
No OneTemporary

D12539.diff

diff --git a/src/applications/maniphest/query/ManiphestTaskSearchEngine.php b/src/applications/maniphest/query/ManiphestTaskSearchEngine.php
--- a/src/applications/maniphest/query/ManiphestTaskSearchEngine.php
+++ b/src/applications/maniphest/query/ManiphestTaskSearchEngine.php
@@ -141,13 +141,13 @@
$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);
}

File Metadata

Mime Type
text/plain
Expires
Tue, Oct 15, 2:04 AM (4 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6710897
Default Alt Text
D12539.diff (848 B)

Event Timeline