Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13955580
D12539.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
848 B
Referenced Files
None
Subscribers
None
D12539.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D12539: Default statuses and priorities to `array()` correctly
Attached
Detach File
Event Timeline
Log In to Comment