From dee54de21b911eee2601233389fae3316b1bd8fd Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 26 May 2007 13:33:30 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20fckeditor=20sur=20notes=20non=20op=E9rat?= =?UTF-8?q?ionnel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/product/fiche.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);