diff --git a/src/applications/metamta/query/PhabricatorMetaMTAMailQuery.php b/src/applications/metamta/query/PhabricatorMetaMTAMailQuery.php index e0dadb5f13..a1fad69c0b 100644 --- a/src/applications/metamta/query/PhabricatorMetaMTAMailQuery.php +++ b/src/applications/metamta/query/PhabricatorMetaMTAMailQuery.php @@ -99,8 +99,8 @@ final class PhabricatorMetaMTAMailQuery return $where; } - protected function buildJoinClause(AphrontDatabaseConnection $conn) { - $joins = array(); + protected function buildJoinClauseParts(AphrontDatabaseConnection $conn) { + $joins = parent::buildJoinClauseParts($conn); if ($this->actorPHIDs === null && $this->recipientPHIDs === null) { $joins[] = qsprintf( @@ -119,7 +119,7 @@ final class PhabricatorMetaMTAMailQuery PhabricatorMetaMTAMailHasRecipientEdgeType::EDGECONST); } - return implode(' ', $joins); + return $joins; } protected function getPrimaryTableAlias() {