Skip to content

Commit

Permalink
https://github.com/thehcginstitute-com/m1/issues/590
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed May 2, 2024
1 parent e705dc1 commit d72055d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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())) {
Expand Down

0 comments on commit d72055d

Please sign in to comment.