From 8656a9f41736212ee021d83920420e22a38d8300 Mon Sep 17 00:00:00 2001 From: Florian Henry Date: Sat, 25 May 2013 16:50:55 +0200 Subject: [PATCH] Fix [ bug #895 ] Description is lost when adding a new predefined product to a contract --- htdocs/contrat/fiche.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/contrat/fiche.php b/htdocs/contrat/fiche.php index ae5a1190c49..9c1f1ae2973 100644 --- a/htdocs/contrat/fiche.php +++ b/htdocs/contrat/fiche.php @@ -433,7 +433,7 @@ else if ($action == 'addline' && $user->rights->contrat->creer) $desc = $prod->description; $desc.= $prod->description && GETPOST('desc') ? "\n" : ""; - $desc.= GETPOST('desc'); + $desc.= GETPOST('np_desc'); } else { @@ -871,10 +871,10 @@ if ($action == 'create') print ''.$langs->trans("NotePublic").''; - + $doleditor=new DolEditor('note_public', $note_public, '', '100', 'dolibarr_notes', 'In', 1, true, true, ROWS_3, 70); print $doleditor->Create(1); - + if (! $user->societe_id) {