From caccf77b10ef2ec8e476ef7383bfce068ee93448 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Tue, 28 Aug 2012 14:48:56 +0000 Subject: [PATCH] // Shop URI case insensitive git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17057 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/shop/Shop.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/shop/Shop.php b/classes/shop/Shop.php index 956d554e8..300cce780 100644 --- a/classes/shop/Shop.php +++ b/classes/shop/Shop.php @@ -316,7 +316,7 @@ class ShopCore extends ObjectModel foreach ($results as $row) { // An URL matching current shop was found - if (preg_match('#^'.preg_quote($row['uri'], '#').'#', $request_uri)) + if (preg_match('#^'.preg_quote($row['uri'], '#').'#i', $request_uri)) { $id_shop = $row['id_shop']; $found_uri = $row['uri'];