mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-31 08:58:20 +01:00
Only evaluate tokens if phids not null
Summary: Fixes T8577, Only evaluate tokens if phids not null Test Plan: Open Upcoming Events in Calendar. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T8577 Differential Revision: https://secure.phabricator.com/D13326
This commit is contained in:
parent
b10d128c59
commit
868ee3ef2f
1 changed files with 2 additions and 2 deletions
|
@ -127,14 +127,14 @@ final class PhabricatorCalendarEventSearchEngine
|
|||
}
|
||||
|
||||
$invited_phids = $saved->getParameter('invitedPHIDs');
|
||||
$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 = $user_datasource->evaluateTokens($creator_phids);
|
||||
if ($creator_phids) {
|
||||
$creator_phids = $user_datasource->evaluateTokens($creator_phids);
|
||||
$query->withCreatorPHIDs($creator_phids);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue