From 9dcbd7b64b61edd14c5421f5c4a6c2d613c6f649 Mon Sep 17 00:00:00 2001 From: bencroker Date: Thu, 12 Sep 2024 09:32:13 +0200 Subject: [PATCH] Fix #494 --- src/records/ContactMailingListRecord.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/records/ContactMailingListRecord.php b/src/records/ContactMailingListRecord.php index 6e44d0c1..1ba48c00 100644 --- a/src/records/ContactMailingListRecord.php +++ b/src/records/ContactMailingListRecord.php @@ -46,7 +46,6 @@ public static function find(): ActiveQuery ->innerJoin(Table::ELEMENTS . ' contactElement', '[[contactElement.id]] = [[contactId]]') ->innerJoin(Table::ELEMENTS . ' mailingListElement', '[[mailingListElement.id]] = [[mailingListId]]') ->where([ - 'contactElement.draftId' => null, 'contactElement.dateDeleted' => null, 'mailingListElement.dateDeleted' => null, ]);