Skip to content

Commit 4ca46ae

Browse files
author
Oleksii Korshenko
authored
magento#1143 magento#11963: Magento 2.2 language switching not working on catalog and Product Pages
Fixed code style
1 parent b0c224e commit 4ca46ae

File tree

1 file changed

+1
-2
lines changed
  • app/code/Magento/Catalog/Controller/Product

1 file changed

+1
-2
lines changed

app/code/Magento/Catalog/Controller/Product/View.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ public function execute()
7676
$productId = (int) $this->getRequest()->getParam('id');
7777
$specifyOptions = $this->getRequest()->getParam('options');
7878

79-
if (
80-
!$this->_request->getParam('___from_store')
79+
if (!$this->_request->getParam('___from_store')
8180
&& $this->_request->isPost()
8281
&& $this->_request->getParam(self::PARAM_NAME_URL_ENCODED)
8382
) {

0 commit comments

Comments
 (0)