Fix: We use dolibarr_details as type of DolEditor here, because we must

not accept images as description is included into PDF and not accepted
by TCPDF.
This commit is contained in:
Laurent Destailleur 2012-10-03 14:49:51 +02:00
parent 0f78ffda5c
commit 1d9e77a53d

View File

@ -837,7 +837,8 @@ else
// Note (private, no output on invoices, propales...)
print '<tr><td valign="top">'.$langs->trans("NoteNotVisibleOnBill").'</td><td>';
$doleditor = new DolEditor('note', GETPOST('note'), '', 180, 'dolibarr_notes', '', false, true, $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC, 8, 70);
// We use dolibarr_details as type of DolEditor here, because we must not accept images as description is included into PDF and not accepted by TCPDF.
$doleditor = new DolEditor('note', GETPOST('note'), '', 180, 'dolibarr_details', '', false, true, $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC, 8, 70);
$doleditor->Create();
print "</td></tr>";