// Shop URI case insensitive

This commit is contained in:
dMetzger
2012-08-28 14:48:56 +00:00
parent 2bdf0af13c
commit 5b37fb3329
+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'];