forked from Wavyzz/dolibarr
fix CATEGORY_ADD_DESC_INTO_DOC
$cate->add_category doesn't exists
This commit is contained in:
@@ -1401,7 +1401,7 @@ function pdf_getlinedesc($object, $i, $outputlangs, $hideref = 0, $hidedesc = 0,
|
||||
foreach ($tblcateg as $cate)
|
||||
{
|
||||
// Adding the descriptions if they are filled
|
||||
$desccateg = $cate->add_description;
|
||||
$desccateg = $cate->description;
|
||||
if ($desccateg)
|
||||
$libelleproduitservice .= '__N__'.$desccateg;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user