From 78df524058bfeb23368cb865047e185aec80345b Mon Sep 17 00:00:00 2001 From: Janak Date: Sat, 22 Dec 2018 11:24:30 +0530 Subject: [PATCH] Code updated as per reviever instrunctions --- app/code/Magento/UrlRewrite/Model/StoreSwitcher/RewriteUrl.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/code/Magento/UrlRewrite/Model/StoreSwitcher/RewriteUrl.php b/app/code/Magento/UrlRewrite/Model/StoreSwitcher/RewriteUrl.php index cf80b91c81a24..43eafef3b127b 100644 --- a/app/code/Magento/UrlRewrite/Model/StoreSwitcher/RewriteUrl.php +++ b/app/code/Magento/UrlRewrite/Model/StoreSwitcher/RewriteUrl.php @@ -77,7 +77,6 @@ public function switch(StoreInterface $fromStore, StoreInterface $targetStore, s } foreach ($currentRewrites as $rewrite) { $targetUrl = $targetStore->getBaseUrl() . $rewrite->getRequestPath(); - break; } }