FIX : same thing in deleteline

This commit is contained in:
Gauthier PC portable 024
2022-09-06 09:48:10 +02:00
parent aff9a423ab
commit 4d396bbf50

View File

@@ -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++) {