// Webservice getters are now multishop

This commit is contained in:
rMalie
2012-06-01 07:45:41 +00:00
parent 0545f30629
commit 803073cd49
9 changed files with 66 additions and 31 deletions
+2 -1
View File
@@ -441,7 +441,8 @@ class ManufacturerCore extends ObjectModel
return Db::getInstance()->executeS('
SELECT a.id_address as id
FROM `'._DB_PREFIX_.'address` AS a
WHERE `id_manufacturer` = '.(int)$this->id.'
'.Shop::addSqlAssociation('manufacturer', 'a').'
WHERE a.`id_manufacturer` = '.(int)$this->id.'
AND a.`deleted` = 0'
);
}