Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14041395
D13330.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D13330.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 12, 6:09 PM (6 d, 22 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6733077
Default Alt Text
D13330.diff (1 KB)
Attached To
Mode
D13330: More correct fix - set default value array() for `getParameter` call.
Attached
Detach File
Event Timeline
Log In to Comment