From 19936cd3333053645ba230aa40a2177c730382d4 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Thu, 28 Sep 2017 23:09:20 +0200 Subject: [PATCH] bugfix --- build/api/module/machineDefault.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/api/module/machineDefault.php b/build/api/module/machineDefault.php index 2b7a969..175cf92 100755 --- a/build/api/module/machineDefault.php +++ b/build/api/module/machineDefault.php @@ -524,7 +524,7 @@ ---------------------------------------------------------*/ { /* (1) On récupère les composants disponibles */ - $chipsReq = new Repo('chip/getForMachine', [$_SESSION['WAREHOUSE']['id'], $_SESSION['SATS']['id']]); + $chipsReq = new Repo('chip/getForMachine', [$_SESSION['WAREHOUSE']['id'], $id_machine]); $chips = ($chipsReq->error->get()==Err::Success) ? $chipsReq->answer() : [];