diff --git a/Block/Adminhtml/Product/TranslateButton.php b/Block/Adminhtml/Product/TranslateButton.php index 4cb5625..2a45681 100644 --- a/Block/Adminhtml/Product/TranslateButton.php +++ b/Block/Adminhtml/Product/TranslateButton.php @@ -33,7 +33,7 @@ public function getButtonData(): array { $currentStore = (int)$this->context->getRequestParam("store"); - if (!$this->moduleConfig->isEnable($currentStore ?: null)) { + if (!$this->moduleConfig->isEnable($currentStore ?: 0)) { return []; }