// fixed supply orders

This commit is contained in:
bMancone committed 2011-12-28 15:49:35 +00:00
1 parent 10c7075b0e
commit 1bf1a70446
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -444,7 +444,7 @@ class SupplyOrderCore extends ObjectModel
$query->where('so.id_supply_order = '.(int)$match.' OR so.reference = "'.pSQL($match).'"');
$res = Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query);
return ($res > 0);
return ((int)$res);
}
/**