Fix travis (strange I didn't update this file)

This commit is contained in:
Florian HENRY 2014-09-29 16:24:45 +02:00
parent 46f673fb5f
commit 056e3ec2af

View File

@ -873,7 +873,7 @@ else if ($action == 'add' && $user->rights->facture->creer)
$exp = new Expedition($db);
$exp->fetch($object->origin_id);
$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'])) {