diff --git a/htdocs/product/categorie.php b/htdocs/product/categorie.php index 15b57823099..3c3c51c2f94 100644 --- a/htdocs/product/categorie.php +++ b/htdocs/product/categorie.php @@ -21,6 +21,7 @@ require("./pre.inc.php"); require_once(DOL_DOCUMENT_ROOT."/product.class.php"); +require_once(DOL_DOCUMENT_ROOT."/categories/categorie.class.php"); $langs->load("categories"); @@ -125,7 +126,8 @@ if ($_GET["id"]) $head[$h][1] = $langs->trans('Statistics'); $h++; - dolibarr_fiche_head($head, $hselected, $langs->trans("CardProduct".$product->type).' : '.$product->ref); + $titre=$langs->trans("CardProduct".$product->type); + dolibarr_fiche_head($head, $hselected, $titre); print($mesg); print '';