// Change prototype of methods from(), leftJoin(), innerJoin(), leftOuterJoin() and naturalJoin() for DbQuery class
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11351 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
09d15124b0
commit
b7ae37f6d7
23 files changed
+183
-202
No files matched your search
@@ -76,7 +76,7 @@ class WarehouseProductLocationCore extends ObjectModel
|
||||
// build query
|
||||
$query = new DbQuery();
|
||||
$query->select('wpl.location');
|
||||
$query->from('warehouse_product_location wpl');
|
||||
$query->from('warehouse_product_location', 'wpl');
|
||||
$query->where('wpl.id_product = '.(int)$id_product.'
|
||||
AND wpl.id_product_attribute = '.(int)$id_product_attribute.'
|
||||
AND wpl.id_warehouse = '.(int)$id_warehouse
|
||||
@@ -98,7 +98,7 @@ class WarehouseProductLocationCore extends ObjectModel
|
||||
// build query
|
||||
$query = new DbQuery();
|
||||
$query->select('wpl.id_warehouse_product_location');
|
||||
$query->from('warehouse_product_location wpl');
|
||||
$query->from('warehouse_product_location', 'wpl');
|
||||
$query->where('wpl.id_product = '.(int)$id_product.'
|
||||
AND wpl.id_product_attribute = '.(int)$id_product_attribute.'
|
||||
AND wpl.id_warehouse = '.(int)$id_warehouse
|
||||
|
||||
Reference in new issue
Block a user