Fix: problem of line break between label and description when

using fckeditor
This commit is contained in:
Regis Houssin 2012-04-26 10:29:46 +02:00
parent ff6624f5f1
commit 0ad2c4a027

View File

@ -807,7 +807,11 @@ function pdf_getlinedesc($object,$i,$outputlangs,$hideref=0,$hidedesc=0,$issuppl
// Description long of product line // Description long of product line
if ($desc && ($desc != $label)) if ($desc && ($desc != $label))
{ {
if ( $libelleproduitservice && empty($hidedesc) ) $libelleproduitservice.="\n"; if ($libelleproduitservice && empty($hidedesc))
{
if ($conf->global->FCKEDITOR_ENABLE_DETAILS) $libelleproduitservice.='<br />';
else $libelleproduitservice.="\n";
}
if ($desc == '(CREDIT_NOTE)' && $object->lines[$i]->fk_remise_except) if ($desc == '(CREDIT_NOTE)' && $object->lines[$i]->fk_remise_except)
{ {