From 6d6f30725bf190a40bb20de6b565f38a5ef2b60f Mon Sep 17 00:00:00 2001 From: Grand Philippe Date: Tue, 3 Sep 2013 11:41:33 +0200 Subject: [PATCH] Add an additional description for the category products --- htdocs/core/lib/pdf.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/lib/pdf.lib.php b/htdocs/core/lib/pdf.lib.php index 621b06965e1..6be4eaf2a61 100644 --- a/htdocs/core/lib/pdf.lib.php +++ b/htdocs/core/lib/pdf.lib.php @@ -1033,7 +1033,7 @@ function pdf_getlinedesc($object,$i,$outputlangs,$hideref=0,$hidedesc=0,$issuppl } // Add an additional description for the category products - if ($conf->categorie->enabled) + if (! empty($conf->categorie->enabled)) { include_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php'; $categstatic=new Categorie($db);