From c242e53db6cc0306a109ab96b492c6a9b48e3e4c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 27 Jul 2016 19:23:40 +0200 Subject: [PATCH] FIX #5523 --- htdocs/resource/add.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 '';