diff --git a/admin-dev/tabs/AdminMeta.php b/admin-dev/tabs/AdminMeta.php index ece61044a..547ceddaf 100644 --- a/admin-dev/tabs/AdminMeta.php +++ b/admin-dev/tabs/AdminMeta.php @@ -216,7 +216,7 @@ class AdminMeta extends AdminTab public function getList($id_lang, $orderBy = NULL, $orderWay = NULL, $start = 0, $limit = NULL, $id_lang_shop = false) { - parent::getList($id_lang, $orderBy, $orderWay, $start, $limit, Context::getContext()->shop->getID()); + parent::getList($id_lang, $orderBy, $orderWay, $start, $limit, Context::getContext()->shop->getID(true)); } /** diff --git a/classes/Currency.php b/classes/Currency.php index 991c850c1..cb92464fb 100644 --- a/classes/Currency.php +++ b/classes/Currency.php @@ -186,7 +186,7 @@ class CurrencyCore extends ObjectModel $sql = 'SELECT * FROM `'._DB_PREFIX_.'currency` c - '.$shop->sqlAsso('currency', 'c', false).' + '.$shop->sqlAsso('currency', 'c').' WHERE `deleted` = 0' .($active == 1 ? ' AND c.`active` = 1' : '').' ORDER BY `name` ASC';