[-] Core: fix redirection loop for bugged versions of mysql using column name aliases on order by
This commit is contained in:
@@ -308,7 +308,7 @@ class ShopCore extends ObjectModel
|
|||||||
WHERE (su.domain = \''.$host.'\' OR su.domain_ssl = \''.$host.'\')
|
WHERE (su.domain = \''.$host.'\' OR su.domain_ssl = \''.$host.'\')
|
||||||
AND s.active = 1
|
AND s.active = 1
|
||||||
AND s.deleted = 0
|
AND s.deleted = 0
|
||||||
ORDER BY LENGTH(uri) DESC';
|
ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC';
|
||||||
|
|
||||||
$id_shop = '';
|
$id_shop = '';
|
||||||
$found_uri = '';
|
$found_uri = '';
|
||||||
|
|||||||
Reference in New Issue
Block a user