From d72055d308cb81eaebc179f484e34355cf78ea21 Mon Sep 17 00:00:00 2001 From: Dmitrii Fediuk Date: Thu, 2 May 2024 21:23:43 +0100 Subject: [PATCH] https://github.com/thehcginstitute-com/m1/issues/590 --- app/code/community/Ebizmarts/MailChimp/Model/ProcessWebhook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/community/Ebizmarts/MailChimp/Model/ProcessWebhook.php b/app/code/community/Ebizmarts/MailChimp/Model/ProcessWebhook.php index b77e91e5b..1869944b4 100644 --- a/app/code/community/Ebizmarts/MailChimp/Model/ProcessWebhook.php +++ b/app/code/community/Ebizmarts/MailChimp/Model/ProcessWebhook.php @@ -10,7 +10,7 @@ final class Ebizmarts_MailChimp_Model_ProcessWebhook { */ function p():void { $collection = Mage::getModel('mailchimp/webhookrequest')->getCollection(); - $collection->addFieldToFilter('processed', array('eq' => 0)); + $collection->addFieldToFilter('processed', ['eq' => 0]); $collection->getSelect()->limit(self::BATCH_LIMIT); foreach ($collection as $webhookRequest) { if ($d = hcg_mc_h()->unserialize($webhookRequest->getDataRequest())) {