sorting bug fix

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3643 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2013-08-09 13:10:06 +00:00
parent 31051dcf1e
commit 8554d18604

View File

@ -580,7 +580,7 @@ SWAP_Get($@)
} }
} }
foreach my $cmd ( sort { $a <=> $b } keys ( %{$gl} ) ) { foreach my $cmd ( sort keys ( %{$gl} ) ) {
$list .= " "; $list .= " ";
$list .= $cmd; $list .= $cmd;
$list .= ":noArg" if( !$gl->{$cmd} ); $list .= ":noArg" if( !$gl->{$cmd} );