2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

73_km200.pm: bugfix: Errorlist unsorted timestamp

git-svn-id: https://svn.fhem.de/fhem/trunk@14144 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Sailor 2017-04-30 14:15:37 +00:00
parent 5074aaa690
commit 1dde3a58c3

View File

@ -2829,7 +2829,7 @@ sub km200_ParseHttpResponseDyn($)
my $TempServiceIndex = 0;
### Sort list by timestamps descending
# my @TempSortedErrorList = sort { $b->{t} <=> $a->{t} } @{ $json->{values} };
my @TempSortedErrorList = sort { $b->{t} cmp $a->{t} } @{ $json->{values} };
my @TempSortedErrorList = sort ( @{ $json->{values} } );