diff --git a/htdocs/adherents/type.php b/htdocs/adherents/type.php
index e92060d9e11..047dcdbea4c 100644
--- a/htdocs/adherents/type.php
+++ b/htdocs/adherents/type.php
@@ -65,7 +65,7 @@ $subscription = GETPOST("subscription", "int");
$duration_value = GETPOST('duration_value', 'int');
$duration_unit = GETPOST('duration_unit', 'alpha');
$vote = GETPOST("vote", "int");
-$comment = GETPOST("comment", 'alphanohtml');
+$comment = GETPOST("comment", 'none');
$mail_valid = GETPOST("mail_valid", 'none');
// Security check
@@ -363,7 +363,9 @@ if ($action == 'create')
print '';
print '
| '.$langs->trans("Description").' | ';
- print ' |
';
+ require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
+ $doleditor = new DolEditor('comment', $object->note, '', 280, 'dolibarr_notes', '', false, true, $conf->fckeditor->enabled, 15, '90%');
+ $doleditor->Create();
print '| '.$langs->trans("WelcomeEMail").' | ';
require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
@@ -806,10 +808,12 @@ if ($rowid > 0)
print ' |
';
print '| '.$langs->trans("Description").' | ';
- print ' |
';
+ require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
+ $doleditor = new DolEditor('comment', $object->note, '', 280, 'dolibarr_notes', '', false, true, $conf->fckeditor->enabled, 15, '90%');
+ $doleditor->Create();
+ print "";
print '| '.$langs->trans("WelcomeEMail").' | ';
- require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
$doleditor = new DolEditor('mail_valid', $object->mail_valid, '', 280, 'dolibarr_notes', '', false, true, $conf->fckeditor->enabled, 15, '90%');
$doleditor->Create();
print " |
";