FIX : same thing in deleteline
This commit is contained in:
parent
aff9a423ab
commit
4d396bbf50
@ -540,6 +540,7 @@ if (empty($reshook)) {
|
|||||||
$object->fetch($id);
|
$object->fetch($id);
|
||||||
$lines = $object->lines;
|
$lines = $object->lines;
|
||||||
$line = new ExpeditionLigne($db);
|
$line = new ExpeditionLigne($db);
|
||||||
|
$line->fk_expedition = $object->id;
|
||||||
|
|
||||||
$num_prod = count($lines);
|
$num_prod = count($lines);
|
||||||
for ($i = 0; $i < $num_prod; $i++) {
|
for ($i = 0; $i < $num_prod; $i++) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user