Fix label generation for fichinter card generation from order. Labels get concatenated.

This commit is contained in:
Jan Giebels 2018-01-19 12:21:42 +01:00
parent d01a8d0508
commit 9642206bd1

View File

@ -316,7 +316,7 @@ if (empty($reshook))
$label = (! empty($prod->multilangs[$outputlangs->defaultlang]["libelle"])) ? $prod->multilangs[$outputlangs->defaultlang]["libelle"] : $lines[$i]->product_label;
} else {
$prod->fetch($lines[$i]->fk_product);
$label .= $lines[$i]->product_label;
$label = $lines[$i]->product_label;
}
if ($prod->duration_value && $conf->global->FICHINTER_USE_SERVICE_DURATION) {