// Improve collections : where() method reworked (prototype changed) + validation of fields
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11383 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -264,7 +264,7 @@ class SupplyOrderCore extends ObjectModel
|
||||
public function getEntriesCollection()
|
||||
{
|
||||
$details = new Collection('SupplyOrderDetail');
|
||||
$details->where('a.id_supply_order = '.(int)$this->id);
|
||||
$details->where('id_supply_order', '=', $this->id);
|
||||
return $details;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user