Merge pull request #7620 from atm-gauthier/fix_selectthirdparty

FIX : wrong key in selectarray
This commit is contained in:
Laurent Destailleur 2017-10-13 00:46:15 +02:00 committed by GitHub
commit 20d4ba9ddd

View File

@ -232,7 +232,7 @@ $tmp_companies = $form->select_thirdparty_list($socid,'socid',$filter,1, 0, 0, a
$companies = array();
foreach ($tmp_companies as $value) {
$companies[$value['value']] = $value['label'];
$companies[$value['key']] = $value['label'];
}
print '<div class="fichecenter"><div class="fichethirdleft">';