This commit is contained in:
xdrm-brackets 2017-09-28 23:09:20 +02:00
parent 010ed78bd2
commit 19936cd333
1 changed files with 1 additions and 1 deletions

View File

@ -524,7 +524,7 @@
---------------------------------------------------------*/ { ---------------------------------------------------------*/ {
/* (1) On récupère les composants disponibles */ /* (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() : []; $chips = ($chipsReq->error->get()==Err::Success) ? $chipsReq->answer() : [];