// Change prototype of methods from(), leftJoin(), innerJoin(), leftOuterJoin() and naturalJoin() for DbQuery class

This commit is contained in:
rMalie committed 2011-12-19 11:13:13 +00:00
1 parent 27d3da3bda
commit ff3f1804ec
23 files changed
+183 -202

No files matched your search

+2 -2
View File
@@ -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