diff --git a/build/api/module/machineDefault.php b/build/api/module/machineDefault.php index 99bd2ff..1517b3a 100755 --- a/build/api/module/machineDefault.php +++ b/build/api/module/machineDefault.php @@ -517,7 +517,7 @@ // On met en forme les données : "val1,val2,val3" -> [val1, val2, val3] foreach($states as $s=>$state){ - $chips[$c]['states'][$state['state']] = explode(',', $state['values']); + $chips[$c]['states'][$state['state']] = explode(',', $state['value']); foreach($chips[$c]['states'][$state['state']] as $s2=>$state2) $chips[$c]['states'][$state['state']][$s2] = intval($state2); }