FIX : fk_expedition in $line can be usefull for triggers

This commit is contained in:
Gauthier PC portable 024 2022-09-05 12:28:59 +02:00
parent 317e28ff6f
commit aff9a423ab

View File

@ -581,6 +581,7 @@ if (empty($reshook)) {
for ($i = 0; $i < $num_prod; $i++) {
if ($lines[$i]->id == $line_id) { // we have found line to update
$line = new ExpeditionLigne($db);
$line->fk_expedition = $object->id;
// Extrafields Lines
$line->array_options = $extrafields->getOptionalsFromPost($object->table_element_line);