Product supplier list display only one product

Last parameter of select_produits_fournisseurs_list is $limit, not $socidif
This commit is contained in:
Philippe-OpenDSI 2016-04-20 13:59:13 +02:00 committed by Laurent Destailleur
parent ff140914c8
commit e3e2b87506

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();