removed the ksort block as it was not working (#10674)

This commit is contained in:
dGs-
2019-10-11 03:32:25 +02:00
committed by Tony Murray
parent a19a18492e
commit 80e138fa40

View File

@ -158,14 +158,6 @@ class Component
foreach ($this->reserved as $k => $v) {
$RESULT[$component_device_id][$COMPONENT['id']][$k] = $COMPONENT[$k];
}
// Sort each component array so the attributes are in order.
if (is_array($RESULT[$RESULT[$component_device_id][$COMPONENT['id']]])) {
ksort($RESULT[$RESULT[$component_device_id][$COMPONENT['id']]]);
}
if (is_array($RESULT[$RESULT[$component_device_id]])) {
ksort($RESULT[$RESULT[$component_device_id]]);
}
}
// limit array(start,count)