// Shop URI case insensitive
This commit is contained in:
1 parent
2bdf0af13c
commit
5b37fb3329
1 file changed
+1
-1
@@ -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'];
|
||||
|
||||
Reference in new issue
Block a user