Merge pull request #7580 from OPEN-DSI/fix_0004

Fix concat desc of lines when create contract from proposal or other
This commit is contained in:
Laurent Destailleur 2017-10-07 13:13:44 +02:00 committed by GitHub
commit 0a88633f59

View File

@ -327,7 +327,7 @@ if (empty($reshook))
$label = $lines[$i]->product_label;
}
$desc .= ($lines[$i]->desc && $lines[$i]->desc!=$lines[$i]->libelle)?dol_htmlentitiesbr($lines[$i]->desc):'';
$desc = ($lines[$i]->desc && $lines[$i]->desc!=$lines[$i]->libelle)?dol_htmlentitiesbr($lines[$i]->desc):'';
}
else {
$desc = dol_htmlentitiesbr($lines[$i]->desc);