From 056e3ec2afa5c1a6fedc7a00eeaeb77e7150aca0 Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Mon, 29 Sep 2014 16:24:45 +0200 Subject: [PATCH] Fix travis (strange I didn't update this file) --- htdocs/compta/facture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 83587861f7b..d92ccd9e9f3 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -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'])) {