From 089392618931a14ebf75f66295d2dec7c51518f2 Mon Sep 17 00:00:00 2001 From: JC Prieto Date: Wed, 25 Sep 2019 12:49:19 +0200 Subject: [PATCH] Update expedition.class.php Clear lines before fech them. --- htdocs/expedition/class/expedition.class.php | 2 ++ 1 file changed, 2 insertions(+) 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;