mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 07:24:21 +00:00
Fixing eventMap bug: on:An causes havon in the FHEMWEB frontend
git-svn-id: https://svn.fhem.de/fhem/trunk@2553 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d39969a9d1
commit
1905a89fa3
@ -1677,8 +1677,12 @@ getAllSets($)
|
||||
|
||||
my $em = AttrVal($d, "eventMap", undef);
|
||||
if($em) {
|
||||
# Delete the first word of the translation (.*:), else it will be
|
||||
# interpreted as the single possible value for a dropdown
|
||||
# Why is the .*= deleted?
|
||||
$em = join(" ", grep { !/ / }
|
||||
map { $_ =~ s/.*=//s; $_ }
|
||||
map { $_ =~ s/.*=//s;
|
||||
$_ =~ s/.*://s; $_ }
|
||||
EventMapAsList($em));
|
||||
$a2 = "$em $a2";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user