Skip to content

Commit 53c9d62

Browse files
Merge remote-tracking branch '33533/patch-1' into Aug01-comprs
2 parents 5e3ef31 + b19adfc commit 53c9d62

File tree

1 file changed

+1
-2
lines changed
  • app/code/Magento/CatalogSearch/Model/Adminhtml/System/Config/Backend

1 file changed

+1
-2
lines changed

app/code/Magento/CatalogSearch/Model/Adminhtml/System/Config/Backend/Engine.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ public function beforeSave()
6161
parent::beforeSave();
6262
$value = (string)$this->getValue();
6363
if (empty($value)) {
64-
$defaultCountry = $this->engineResolver->getCurrentSearchEngine();
65-
$this->setValue($defaultCountry);
64+
$this->setValue($this->engineResolver->getCurrentSearchEngine());
6665
}
6766
return $this;
6867
}

0 commit comments

Comments
 (0)