diff --git a/htdocs/contrat/contrat.class.php b/htdocs/contrat/contrat.class.php index b09c3a4698a..cc7f9319d03 100644 --- a/htdocs/contrat/contrat.class.php +++ b/htdocs/contrat/contrat.class.php @@ -295,12 +295,6 @@ class Contrat $qty = ereg_replace(",",".",$qty); $pu = ereg_replace(",",".",$pu); - if (! trim($desc)) - { - $this->error=$langs->trans("ErrorDescRequired"); - return -1; - } - if (strlen(trim($qty))==0) { $qty=1; @@ -317,7 +311,6 @@ class Contrat } } - $remise = 0; $price = round(ereg_replace(",",".",$pu), 2); $subprice = $price;