// Improve multishop code
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10982 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+4
-4
@@ -1502,12 +1502,12 @@ class ToolsCore
|
||||
$domains = array();
|
||||
foreach (ShopUrl::getShopUrls() as $shop_url)
|
||||
{
|
||||
if (!isset($domains[$shop_url['domain']]))
|
||||
if (!isset($domains[$shop_url->domain]))
|
||||
$domains[$shop_url['domain']] = array();
|
||||
|
||||
$domains[$shop_url['domain']][] = array(
|
||||
'physical' => $shop_url['physical_uri'],
|
||||
'virtual' => $shop_url['virtual_uri'],
|
||||
$domains[$shop_url->domain][] = array(
|
||||
'physical' => $shop_url->physical_uri,
|
||||
'virtual' => $shop_url->virtual_uri,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user