Merge pull request #5058 from philippe-opendsi/patch-2

FIX #5048 Product supplier list display only one product
This commit is contained in:
Laurent Destailleur 2016-04-22 19:44:16 +02:00
commit d2003e9607

View File

@ -183,7 +183,7 @@ if (! empty($action) && $action == 'fetch' && ! empty($id))
if (empty($mode) || $mode == 1) {
$arrayresult = $form->select_produits_list("", $htmlname, $type, "", $price_level, $searchkey, $status, $finished, $outjson, $socid);
} elseif ($mode == 2) {
$arrayresult = $form->select_produits_fournisseurs_list($socid, "", $htmlname, $type, "", $searchkey, $status, $outjson, $socid);
$arrayresult = $form->select_produits_fournisseurs_list($socid, "", $htmlname, $type, "", $searchkey, $status, $outjson);
}
$db->close();