Skip to content

Commit

Permalink
closes #553 for Magento 2.3 - removed the const value to use the cons…
Browse files Browse the repository at this point in the history
…t MAX_MERGEFIELDS
  • Loading branch information
luciaebizmarts committed Jan 29, 2019
1 parent 2c13043 commit 447c3a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Block/Adminhtml/System/Config/Form/Field/MailchimpMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected function _getMailchimpTags()

$api = $this->_helper->getApi($storeId);
try {
$merge = $api->lists->mergeFields->getAll($this->_helper->getConfigValue(\Ebizmarts\MailChimp\Helper\Data::XML_PATH_LIST, $storeId, $scope), null, null, 100);
$merge = $api->lists->mergeFields->getAll($this->_helper->getConfigValue(\Ebizmarts\MailChimp\Helper\Data::XML_PATH_LIST, $storeId, $scope), null, null, \Ebizmarts\MailChimp\Helper\Data::MAX_MERGEFIELDS);
foreach ($merge['merge_fields'] as $item) {
$ret[$item['tag']] = $item['tag'] . ' (' . $item['name'] . ' : ' . $item['type'] . ')';
}
Expand Down

0 comments on commit 447c3a6

Please sign in to comment.