Fix [ bug #895 ] Description is lost when adding a new predefined product to a contract
This commit is contained in:
parent
402f392fde
commit
919a34787e
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user