fix CATEGORY_ADD_DESC_INTO_DOC

$cate->add_category doesn't exists
This commit is contained in:
Frédéric FRANCE 2020-02-20 09:45:17 +01:00 committed by Laurent Destailleur
parent 60f394a53c
commit f6eba36575

View File

@ -1401,7 +1401,7 @@ function pdf_getlinedesc($object, $i, $outputlangs, $hideref = 0, $hidedesc = 0,
foreach ($tblcateg as $cate) foreach ($tblcateg as $cate)
{ {
// Adding the descriptions if they are filled // Adding the descriptions if they are filled
$desccateg = $cate->add_description; $desccateg = $cate->description;
if ($desccateg) if ($desccateg)
$libelleproduitservice .= '__N__'.$desccateg; $libelleproduitservice .= '__N__'.$desccateg;
} }