diff --git a/src/applications/conpherence/query/ConpherenceThreadQuery.php b/src/applications/conpherence/query/ConpherenceThreadQuery.php index 1b311516f8..a04037cf6c 100644 --- a/src/applications/conpherence/query/ConpherenceThreadQuery.php +++ b/src/applications/conpherence/query/ConpherenceThreadQuery.php @@ -355,6 +355,7 @@ final class ConpherenceThreadQuery $start_epoch = $epochs['start_epoch']; $end_epoch = $epochs['end_epoch']; + $events = array(); if ($participant_phids) { $events = id(new PhabricatorCalendarEventQuery()) ->setViewer($this->getViewer()) @@ -363,8 +364,6 @@ final class ConpherenceThreadQuery ->withDateRange($start_epoch, $end_epoch) ->execute(); $events = mpull($events, null, 'getPHID'); - } else { - $events = null; } $invitees = array();