Skip to content

Commit

Permalink
Merge pull request #7723 from atm-maxime/fix_contract_desc
Browse files Browse the repository at this point in the history
Fix : contract lines from origin were containing all lines desc
  • Loading branch information
eldy committed Oct 28, 2017
2 parents 8e18d59 + 7c1d625 commit 0630542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/contrat/card.php
Expand Up @@ -327,7 +327,7 @@
$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);
Expand Down

0 comments on commit 0630542

Please sign in to comment.