Page MenuHomePhabricator

D13330.id.diff
No OneTemporary

D13330.id.diff

diff --git a/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php b/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
--- a/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
+++ b/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
@@ -126,15 +126,15 @@
$query->withDateRange($min_range, $max_range);
}
- $invited_phids = $saved->getParameter('invitedPHIDs');
+ $invited_phids = $saved->getParameter('invitedPHIDs', array());
+ $invited_phids = $user_datasource->evaluateTokens($invited_phids);
if ($invited_phids) {
- $invited_phids = $user_datasource->evaluateTokens($invited_phids);
$query->withInvitedPHIDs($invited_phids);
}
- $creator_phids = $saved->getParameter('creatorPHIDs');
+ $creator_phids = $saved->getParameter('creatorPHIDs', array());
+ $creator_phids = $user_datasource->evaluateTokens($creator_phids);
if ($creator_phids) {
- $creator_phids = $user_datasource->evaluateTokens($creator_phids);
$query->withCreatorPHIDs($creator_phids);
}

File Metadata

Mime Type
text/plain
Expires
Oct 19 2024, 4:56 PM (4 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6733077
Default Alt Text
D13330.id.diff (1 KB)

Event Timeline