FHEM/01_FHEMWEB.pm: reverse sort FWEXT keys (Forum #105488)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@20540 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2019-11-19 08:25:23 +00:00
parent 8ca75d951d
commit 12d4ef0a6f

View File

@ -932,7 +932,7 @@ FW_answerCall($)
# FHEMWEB extensions (FLOORPLOAN, SVG_WriteGplot, etc) # FHEMWEB extensions (FLOORPLOAN, SVG_WriteGplot, etc)
my $FW_contentFunc; my $FW_contentFunc;
if(defined($data{FWEXT})) { if(defined($data{FWEXT})) {
foreach my $k (sort keys %{$data{FWEXT}}) { foreach my $k (reverse sort keys %{$data{FWEXT}}) {
my $h = $data{FWEXT}{$k}; my $h = $data{FWEXT}{$k};
next if($arg !~ m/^$k/); next if($arg !~ m/^$k/);
$FW_contentFunc = $h->{CONTENTFUNC}; $FW_contentFunc = $h->{CONTENTFUNC};