// Supply Orders CSV Import

This commit is contained in:
bMancone
2011-12-29 16:24:24 +00:00
parent 2ca6350545
commit 7bf894f6e0
8 changed files with 274 additions and 29 deletions
+1 -1
View File
@@ -462,7 +462,7 @@ class SupplyOrderCore extends ObjectModel
$query = new DbQuery();
$query->select('id_supply_order');
$query->from('supply_order', 'so');
$query->where('so.reference = "'.pSQL($match).'"');
$query->where('so.reference = "'.pSQL($reference).'"');
$id = Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query);
if ($id === false)