Skip to content
Snippets Groups Projects
Commit 8dba0f9c authored by Damien Clochard's avatar Damien Clochard
Browse files

Check PRODUIT_DESC_IN_FORM before printing the products desc

parent 6bac7447
No related branches found
No related tags found
No related merge requests found
......@@ -1290,7 +1290,8 @@ else
$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
......
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