2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-22 08:11:44 +00:00

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

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

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};