// 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:
@@ -82,7 +82,7 @@ class StockWarehouseCore extends ObjectModel
|
|||||||
{
|
{
|
||||||
$query = new DbQuery();
|
$query = new DbQuery();
|
||||||
$query->select('ws.id_shop');
|
$query->select('ws.id_shop');
|
||||||
$query->from(_DB_PREFIX_.'warehouse_shop ws');
|
$query->from('warehouse_shop ws');
|
||||||
$query->where($this->identifier.' = '.(int)$this->id);
|
$query->where($this->identifier.' = '.(int)$this->id);
|
||||||
return (int)Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS($query);
|
return (int)Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS($query);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user