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.
2 parents 5e3ef31 + b19adfc commit 53c9d62Copy full SHA for 53c9d62
app/code/Magento/CatalogSearch/Model/Adminhtml/System/Config/Backend/Engine.php
@@ -61,8 +61,7 @@ public function beforeSave()
61
parent::beforeSave();
62
$value = (string)$this->getValue();
63
if (empty($value)) {
64
- $defaultCountry = $this->engineResolver->getCurrentSearchEngine();
65
- $this->setValue($defaultCountry);
+ $this->setValue($this->engineResolver->getCurrentSearchEngine());
66
}
67
return $this;
68
0 commit comments