Skip to content
Snippets Groups Projects
Commit 6278610d authored by Maxime Kohlhaas's avatar Maxime Kohlhaas
Browse files

Fix contract line creation should take desc even if not displayed on screen

parent 03732fd1
No related branches found
No related tags found
No related merge requests found
......@@ -319,8 +319,7 @@ if ($action == 'add' && $user->rights->contrat->creer)
$label = $lines[$i]->product_label;
}
if ($conf->global->PRODUIT_DESC_IN_FORM)
$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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment