diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index dd0d00c433c..51bc7e43f48 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -538,7 +538,7 @@ if ($_GET["action"] == 'create' && $user->rights->produit->creer) // Note (invisible sur facture, propales...) print ''.$langs->trans("NoteNotVisibleOnBill").''; - if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTNOTE) + if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC) { require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); $doleditor=new DolEditor('note','',200,'dolibarr_notes','',false); @@ -910,7 +910,7 @@ if ($_GET["id"] || $_GET["ref"]) // Note print ''.$langs->trans("NoteNotVisibleOnBill").''; - if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTNOTE) + if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC) { require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); $doleditor=new DolEditor('note',$product->note,200,'dolibarr_notes','',false);