Skip to content
Snippets Groups Projects
Commit eb41fc27 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #2018 from daamien/develop

Remove full descriptions from the product list in the contract card
parents 962c4b9c 8dba0f9c
Branches
Tags
No related merge requests found
...@@ -1290,7 +1290,8 @@ else ...@@ -1290,7 +1290,8 @@ else
$productstatic->ref=$objp->label; $productstatic->ref=$objp->label;
print $productstatic->getNomUrl(0,'',16); print $productstatic->getNomUrl(0,'',16);
} }
if ($objp->description) print '<br>'.dol_nl2br($objp->description); if (! empty($conf->global->PRODUIT_DESC_IN_FORM) and $objp->description)
print '<br>'.dol_nl2br($objp->description);
print '</td>'; print '</td>';
} }
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment