Skip to content

Commit b0c224e

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 ef1a7de commit b0c224e

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,7 @@ protected function _initCategory()
152152
*/
153153
public function execute()
154154
{
155-
if (
156-
!$this->_request->getParam('___from_store')
155+
if (!$this->_request->getParam('___from_store')
157156
&& $this->_request->getParam(self::PARAM_NAME_URL_ENCODED)
158157
) {
159158
return $this->resultRedirectFactory->create()->setUrl($this->_redirect->getRedirectUrl());

0 commit comments

Comments
 (0)