// Supply Orders CSV Import

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11901 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2011-12-29 16:24:24 +00:00
parent fffdc9b114
commit 9681cfc3a6
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)