// StockWarehouse FixBug

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9172 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2011-10-10 08:57:58 +00:00
parent f01b058f09
commit 493dc1d811
+1 -1
View File
@@ -82,7 +82,7 @@ class StockWarehouseCore extends ObjectModel
{
$query = new DbQuery();
$query->select('ws.id_shop');
$query->from(_DB_PREFIX_.'warehouse_shop ws');
$query->from('warehouse_shop ws');
$query->where($this->identifier.' = '.(int)$this->id);
return (int)Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS($query);
}