Fix: missing return line

This commit is contained in:
Regis Houssin 2011-03-16 11:12:43 +00:00
parent 155dd92c6b
commit 5d881cec0d

View File

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