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 GitHub
parent d6d0c9eaef
commit 523e161f33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
} }