Fix travis (strange I didn't update this file)
This commit is contained in:
parent
46f673fb5f
commit
056e3ec2af
@ -873,7 +873,7 @@ else if ($action == 'add' && $user->rights->facture->creer)
|
|||||||
$exp = new Expedition($db);
|
$exp = new Expedition($db);
|
||||||
$exp->fetch($object->origin_id);
|
$exp->fetch($object->origin_id);
|
||||||
$exp->fetchObjectLinked();
|
$exp->fetchObjectLinked();
|
||||||
if (count ($exp->linkedObjectsIds['commande']) > 0) $object->linked_objects['commande'] = $exp->linkedObjectsIds['commande'][0];
|
if (count($exp->linkedObjectsIds['commande']) > 0) $object->linked_objects['commande'] = $exp->linkedObjectsIds['commande'][0];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_array($_POST['other_linked_objects']) && ! empty($_POST['other_linked_objects'])) {
|
if (is_array($_POST['other_linked_objects']) && ! empty($_POST['other_linked_objects'])) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user