@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

+2 -2
+2 -2
src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
··· 127 127 } 128 128 129 129 $invited_phids = $saved->getParameter('invitedPHIDs'); 130 - $invited_phids = $user_datasource->evaluateTokens($invited_phids); 131 130 if ($invited_phids) { 131 + $invited_phids = $user_datasource->evaluateTokens($invited_phids); 132 132 $query->withInvitedPHIDs($invited_phids); 133 133 } 134 134 135 135 $creator_phids = $saved->getParameter('creatorPHIDs'); 136 - $creator_phids = $user_datasource->evaluateTokens($creator_phids); 137 136 if ($creator_phids) { 137 + $creator_phids = $user_datasource->evaluateTokens($creator_phids); 138 138 $query->withCreatorPHIDs($creator_phids); 139 139 } 140 140