From 919a34787eaee8cfb4cdbe4fd393fd326dafe76b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurent=20L=C3=A9onard?= Date: Sun, 26 May 2013 16:30:22 +0200 Subject: [PATCH] Fix [ bug #895 ] Description is lost when adding a new predefined product to a contract --- htdocs/contrat/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/contrat/fiche.php b/htdocs/contrat/fiche.php index 9c1f1ae2973..77553e67d13 100644 --- a/htdocs/contrat/fiche.php +++ b/htdocs/contrat/fiche.php @@ -432,7 +432,7 @@ else if ($action == 'addline' && $user->rights->contrat->creer) } $desc = $prod->description; - $desc.= $prod->description && GETPOST('desc') ? "\n" : ""; + $desc.= $prod->description && GETPOST('np_desc') ? "\n" : ""; $desc.= GETPOST('np_desc'); } else