Skip to content

Commit

Permalink
Merge pull request #2018 from daamien/develop
Browse files Browse the repository at this point in the history
Remove full descriptions from the product list in the contract card
  • Loading branch information
eldy committed Nov 15, 2014
2 parents 962c4b9 + 8dba0f9 commit eb41fc2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/contrat/card.php
Expand Up @@ -1290,7 +1290,8 @@
$productstatic->ref=$objp->label;
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>';
}
else
Expand Down

0 comments on commit eb41fc2

Please sign in to comment.