// Shop URI case insensitive

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17057 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-08-28 14:48:56 +00:00
parent 1329c12383
commit caccf77b10
+1 -1
View File
@@ -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'];