// Shop URI case insensitive

This commit is contained in:
dMetzger committed 2012-08-28 14:48:56 +00:00
1 parent 4a87c9b289
commit d77b93cd25
1 file changed
+1 -1
+1 -1
View File
@@ -316,7 +316,7 @@ class ShopCore extends ObjectModel
foreach ($results as $row) foreach ($results as $row)
{ {
// An URL matching current shop was found // 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']; $id_shop = $row['id_shop'];
$found_uri = $row['uri']; $found_uri = $row['uri'];