// Webservice getters are now multishop

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15785 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-06-01 07:45:41 +00:00
parent 4ba9796c92
commit f6059f0a67
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'
);
}