We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c5ff49 commit 393f695Copy full SHA for 393f695
app/code/Magento/CatalogSearch/Model/Adminhtml/System/Config/Backend/Engine.php
@@ -61,8 +61,8 @@ public function beforeSave()
61
parent::beforeSave();
62
$value = (string)$this->getValue();
63
if (empty($value)) {
64
- $defaultCountry = $this->engineResolver->getCurrentSearchEngine();
65
- $this->setValue($defaultCountry);
+ $searchEngine = $this->engineResolver->getCurrentSearchEngine();
+ $this->setValue($searchEngine);
66
}
67
return $this;
68
0 commit comments