Skip to content

Commit ddb3ba4

Browse files
committed
Removed PROPALE_ADDON_NOTE_PUBLIC_DEFAULT. Must use the generic feature
"default value feature"
1 parent abef925 commit ddb3ba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

htdocs/comm/propal/card.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2562,7 +2562,7 @@
25622562
print '<tr class="field_note_public">';
25632563
print '<td class="titlefieldcreate tdtop">' . $langs->trans('NotePublic') . '</td>';
25642564
print '<td class="valuefieldcreate">';
2565-
$note_public = $object->getDefaultCreateValueFor('note_public', (!empty($objectsrc) ? $objectsrc->note_public : getDolGlobalString('PROPALE_ADDON_NOTE_PUBLIC_DEFAULT', null)), 'restricthtml');
2565+
$note_public = $object->getDefaultCreateValueFor('note_public', (!empty($objectsrc) ? $objectsrc->note_public : null), 'restricthtml');
25662566
$doleditor = new DolEditor('note_public', $note_public, '', 80, 'dolibarr_notes', 'In', false, false, !getDolGlobalString('FCKEDITOR_ENABLE_NOTE_PUBLIC') ? 0 : 1, ROWS_3, '90%');
25672567
print $doleditor->Create(1);
25682568

0 commit comments

Comments
 (0)