Browse Source

FIX : same thing in deleteline

Gauthier PC portable 024 2 years ago
parent
commit
4d396bbf50
1 changed files with 1 additions and 0 deletions
  1. 1 0
      htdocs/expedition/card.php

+ 1 - 0
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++) {