diff --git a/htdocs/expedition/card.php b/htdocs/expedition/card.php index 42214d1165e..8aa54ca8904 100644 --- a/htdocs/expedition/card.php +++ b/htdocs/expedition/card.php @@ -540,6 +540,7 @@ if (empty($reshook)) { $object->fetch($id); $lines = $object->lines; $line = new ExpeditionLigne($db); + $line->fk_expedition = $object->id; $num_prod = count($lines); for ($i = 0; $i < $num_prod; $i++) {