Skip to content

Commit 9864ee5

Browse files
authored
Revert "Fixed the Landing page save issue"
1 parent 5118166 commit 9864ee5

File tree

1 file changed

+1
-1
lines changed
  • Controller/Adminhtml/Landingpage

1 file changed

+1
-1
lines changed

Controller/Adminhtml/Landingpage/Save.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function execute()
9999

100100
if (isset($data['algolia_configuration']) && $data['algolia_configuration'] != $data['configuration']) {
101101
$data['configuration'] = $data['algolia_configuration'];
102-
if ($this->configHelper->isCustomerGroupsEnabled($data['store_id']) && isset($configuration['price'.$data['price_key']])) {
102+
if ($this->configHelper->isCustomerGroupsEnabled($data['store_id'])) {
103103
$configuration = json_decode($data['algolia_configuration'], true);
104104
$priceConfig = $configuration['price'.$data['price_key']];
105105
$customerGroups = $this->customerGroupCollectionFactory->create();

0 commit comments

Comments
 (0)