Fix label generation for fichinter card

Fix label generation for fichinter card generation from order. Labels get concatenated.
This commit is contained in:
Conspir3D 2018-01-19 12:28:52 +01:00 committed by GitHub
parent a892a3fe71
commit 07772ce2f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {