diff --git a/htdocs/resource/add.php b/htdocs/resource/add.php
index cf13c79560f..70d1da95969 100644
--- a/htdocs/resource/add.php
+++ b/htdocs/resource/add.php
@@ -144,7 +144,7 @@ if (! $action)
print '';
// Type
- print '
| '.$langs->trans("ResourceType").' | ';
+ print '
| '.$langs->trans("ResourceType").' | ';
print '';
$ret = $formresource->select_types_resource($object->fk_code_type_resource, 'fk_code_type_resource', '', 2, 1);
print ' |
';
@@ -157,7 +157,7 @@ if (! $action)
print '';
print '';
require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
- $doleditor = new DolEditor($field, $$field, 160, '', '', false);
+ $doleditor = new DolEditor('description', $description, '', '200', 'dolibarr_notes', false);
$doleditor->Create();
print ' | ';
print '';