Fix [ bug #895 ] Description is lost when adding a new predefined product to a contract

This commit is contained in:
Laurent Léonard 2013-05-26 16:30:22 +02:00
parent 402f392fde
commit 919a34787e

View File

@ -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