// Improve collections : where() method reworked (prototype changed) + validation of fields
This commit is contained in:
@@ -93,7 +93,7 @@ class ShopUrlCore extends ObjectModel
|
||||
{
|
||||
$urls = new Collection('ShopUrl');
|
||||
if ($id_shop)
|
||||
$urls->where('id_shop = '.(int)$id_shop);
|
||||
$urls->where('id_shop', '=', $id_shop);
|
||||
return $urls;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user