Fix: import update on xlsx

This commit is contained in:
lmarcouiller 2022-06-01 11:36:47 +02:00
parent c8ff7ff02a
commit d345957b84
2 changed files with 2 additions and 2 deletions

View File

@ -1120,7 +1120,7 @@ if ($step == 4 && $datatoimport) {
$j = 0; $j = 0;
foreach ($optionsall as $tmpcode => $tmpval) { // Loop on each entry to add into each combo list. foreach ($optionsall as $tmpcode => $tmpval) { // Loop on each entry to add into each combo list.
$label = ''; $label = '';
if ($tmpval['picto']) { if (!empty($tmpval['picto'])) {
$label .= img_picto('', $tmpval['picto'], 'class="pictofixedwidth"'); $label .= img_picto('', $tmpval['picto'], 'class="pictofixedwidth"');
} }
$label .= $tmpval['required'] ? '<strong>' : ''; $label .= $tmpval['required'] ? '<strong>' : '';