diff --git a/htdocs/expedition/class/expedition.class.php b/htdocs/expedition/class/expedition.class.php index 7fc4def441b..13ddccdd896 100644 --- a/htdocs/expedition/class/expedition.class.php +++ b/htdocs/expedition/class/expedition.class.php @@ -603,6 +603,8 @@ class Expedition extends CommonObject $this->location_incoterms = $obj->location_incoterms; $this->libelle_incoterms = $obj->libelle_incoterms; + $this->lines = array(); + $this->db->free($result); if ($this->statut == self::STATUS_DRAFT) $this->brouillon = 1;