// fixed supply orders
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11861 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user