Better syntax in contract card

This commit is contained in:
Florian HENRY 2015-01-30 11:31:04 +01:00
parent 4e14f6913a
commit 44a2bef29d
2 changed files with 1 additions and 1 deletions

View File

@ -1306,7 +1306,7 @@ else
$productstatic->ref=$objp->label;
print $productstatic->getNomUrl(0,'',16);
}
if (! empty($conf->global->PRODUIT_DESC_IN_FORM) and $objp->description)
if (! empty($conf->global->PRODUIT_DESC_IN_FORM) && !empty($objp->description))
print '<br>'.dol_nl2br($objp->description);
print '</td>';
}