Fixed according to *SATS* api/sync log @2

This commit is contained in:
xdrm-brackets 2017-09-25 23:23:42 +02:00
parent f4271043c8
commit f15db0a3a9
1 changed files with 1 additions and 1 deletions

View File

@ -517,7 +517,7 @@
// On met en forme les données : "val1,val2,val3" -> [val1, val2, val3] // On met en forme les données : "val1,val2,val3" -> [val1, val2, val3]
foreach($states as $s=>$state){ 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) foreach($chips[$c]['states'][$state['state']] as $s2=>$state2)
$chips[$c]['states'][$state['state']][$s2] = intval($state2); $chips[$c]['states'][$state['state']][$s2] = intval($state2);
} }