// Improve multishop API
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13566 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -161,10 +161,10 @@ class MetaCore extends ObjectModel
|
||||
SELECT id_meta
|
||||
FROM `'._DB_PREFIX_.'meta_lang`
|
||||
WHERE url_rewrite = \''.pSQL($url_rewrite).'\' AND id_lang = '.(int)$id_lang.'
|
||||
AND id_shop = '.Context::getContext()->shop->getID(true).'
|
||||
AND id_shop = '.Context::getContext()->shop->id.'
|
||||
)
|
||||
AND id_lang = '.(int)$new_id_lang.'
|
||||
AND id_shop = '.Context::getContext()->shop->getID(true));
|
||||
AND id_shop = '.Context::getContext()->shop->id);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user