diff --git a/htdocs/expensereport/card.php b/htdocs/expensereport/card.php index ce3d396e95e..39b42b73e6e 100755 --- a/htdocs/expensereport/card.php +++ b/htdocs/expensereport/card.php @@ -1215,8 +1215,6 @@ else print ''; } - - print '
| ' . $langs->trans('NotePublic') . ' | '; print ''; - $doleditor = new DolEditor('note_public', $note_public, '', 80, 'dolibarr_notes', 'In', 0, false, true, ROWS_3, 70); + $doleditor = new DolEditor('note_public', $object->note_public, '', 80, 'dolibarr_notes', 'In', 0, false, true, ROWS_3, 70); print $doleditor->Create(1); print ' | '; @@ -1305,7 +1303,7 @@ else print '' . $langs->trans('NotePrivate') . ' | '; print ''; - $doleditor = new DolEditor('note_private', $note_private, '', 80, 'dolibarr_notes', 'In', 0, false, true, ROWS_3, 70); + $doleditor = new DolEditor('note_private', $object->note_private, '', 80, 'dolibarr_notes', 'In', 0, false, true, ROWS_3, 70); print $doleditor->Create(1); print ' | '; }