2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-20 19:36:02 +00:00

fhem.pl: allow FHEMWEB parameter spec in eventMap (Forum #76755)

git-svn-id: https://svn.fhem.de/fhem/trunk@15095 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-09-19 11:11:33 +00:00
parent b94f51058f
commit 9e5727406e

View File

@ -3857,7 +3857,8 @@ ReplaceEventMap($$$)
# interpreted as the single possible value for a dropdown
# Why is the .*= deleted?
$defs{$dev}{".eventMapCmd"} = join(" ", grep { !/ / }
map { $_ =~ s/.*?=//s; $_ =~ s/.*?://s; "$_:noArg" } @emList);
map { $_ =~ s/.*?=//s; $_ =~ s/.*?://s;
$_ =~ m/:/ ? $_ : "$_:noArg" } @emList);
}
my ($dname, $nstr);