From 77f18847e230b4a38faad00c0ed365ba2db35fbe Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 2 Feb 2011 06:23:05 +0000 Subject: [PATCH] Fix: use module name --- htdocs/lib/doleditor.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/lib/doleditor.class.php b/htdocs/lib/doleditor.class.php index 282d7ec596a..f2e26b0f7a8 100644 --- a/htdocs/lib/doleditor.class.php +++ b/htdocs/lib/doleditor.class.php @@ -49,7 +49,8 @@ class DolEditor /** - * DolEditor Create an object to build an HTML area to edit a large string content + * Create an object to build an HTML area to edit a large string content + * * @param htmlname Nom formulaire html WYSIWIG * @param content Contenu edition WYSIWIG * @param height Hauteur en pixel de la zone edition @@ -70,7 +71,6 @@ class DolEditor dol_syslog("DolEditor::DolEditor htmlname=".$htmlname." tool=".$tool); // Name of extended editor to use - //$this->tool=empty($conf->global->MAIN_EXTENDED_EDITOR_NAME)?'fckeditor':$conf->global->MAIN_EXTENDED_EDITOR_NAME; // Name of constants must be NAMEOFMODULE_XXX $this->tool=empty($conf->global->FCKEDITOR_EDITORNAME)?'fckeditor':$conf->global->FCKEDITOR_EDITORNAME; // Check if extended editor is ok. If not we force textarea