From 8ff5e8370765b23a9df8b741a362f3b97730ae2a Mon Sep 17 00:00:00 2001 From: SNH_NL Date: Mon, 18 Nov 2019 10:20:28 +0100 Subject: [PATCH] Possible fix for #1112 Possible fix for #1112 Remove empty values https://github.com/mailchimp/mc-magento/issues/1112 --- app/code/community/Ebizmarts/MailChimp/Model/ClearEcommerce.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/code/community/Ebizmarts/MailChimp/Model/ClearEcommerce.php b/app/code/community/Ebizmarts/MailChimp/Model/ClearEcommerce.php index f7a09c7a6..d0af86ed6 100755 --- a/app/code/community/Ebizmarts/MailChimp/Model/ClearEcommerce.php +++ b/app/code/community/Ebizmarts/MailChimp/Model/ClearEcommerce.php @@ -280,6 +280,7 @@ protected function getData() */ public function deleteEcommerceRows($ids, $type) { + $ids = array_filter($ids); $ids = implode($ids, ', '); $where = array( "related_id IN ($ids)",