Skip to content

Commit

Permalink
Merge pull request #434 from mailchimp/Issue431
Browse files Browse the repository at this point in the history
closes #431
  • Loading branch information
gonzaloebiz authored Oct 19, 2018
2 parents fae668e + ad3cb4c commit 53e973e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Api/Cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ protected function _getConvertedQuotes($mailchimpStoreId, $magentoStoreId)
['m4m.*']
);
// be sure that the quotes are already in mailchimp and not deleted
$convertedCarts->getSelect()->where("m4m.mailchimp_sync_deleted = 0");
$convertedCarts->getSelect()->where("m4m.mailchimp_sync_deleted is null and m4m.related_id is not null");
// limit the collection
$convertedCarts->getSelect()->limit(self::BATCH_LIMIT);
/**
Expand Down

0 comments on commit 53e973e

Please sign in to comment.