From 1d9e77a53d364cae5397effb687f0a13b62e8a8c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 3 Oct 2012 14:49:51 +0200 Subject: [PATCH] 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. --- htdocs/product/fiche.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 9f93a7b8841..5120741cc77 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -837,7 +837,8 @@ else // Note (private, no output on invoices, propales...) print ''.$langs->trans("NoteNotVisibleOnBill").''; - $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 "";