mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 13:00:56 +01:00
Fixing strictly null checks in CalendarInviteeQuery
Summary: Ref T7935, Fixing strictly null checks in CalendarInviteeQuery Test Plan: Check code. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Maniphest Tasks: T7935 Differential Revision: https://secure.phabricator.com/D12615
This commit is contained in:
parent
d4176606f9
commit
f721501877
1 changed files with 4 additions and 4 deletions
|
@ -59,28 +59,28 @@ final class PhabricatorCalendarEventInviteeQuery
|
|||
$this->ids);
|
||||
}
|
||||
|
||||
if ($this->eventPHIDs) {
|
||||
if ($this->eventPHIDs !== null) {
|
||||
$where[] = qsprintf(
|
||||
$conn_r,
|
||||
'eventPHID IN (%Ls)',
|
||||
$this->eventPHIDs);
|
||||
}
|
||||
|
||||
if ($this->inviteePHIDs) {
|
||||
if ($this->inviteePHIDs !== null) {
|
||||
$where[] = qsprintf(
|
||||
$conn_r,
|
||||
'inviteePHID IN (%Ls)',
|
||||
$this->inviteePHIDs);
|
||||
}
|
||||
|
||||
if ($this->inviterPHIDs) {
|
||||
if ($this->inviterPHIDs !== null) {
|
||||
$where[] = qsprintf(
|
||||
$conn_r,
|
||||
'inviterPHID IN (%Ls)',
|
||||
$this->inviterPHIDs);
|
||||
}
|
||||
|
||||
if ($this->statuses) {
|
||||
if ($this->statuses !== null) {
|
||||
$where[] = qsprintf(
|
||||
$conn_r,
|
||||
'status = %d',
|
||||
|
|
Loading…
Reference in a new issue