mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
FB_CALLLIST: allow multiline mapping attributes (Forum: #85856)
git-svn-id: https://svn.fhem.de/fhem/trunk@16433 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a0a4fd98cc
commit
c4cc5dcaa5
@ -1,5 +1,6 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- bugfix: 72_FB_CALLLIST: allow newlines in mapping attributes values
|
||||
- feature: 74_XiaomiBTLESens: add new set command resetBatteryTimestamp
|
||||
- bugfix: 93_DbRep: some perl warnings fixed
|
||||
- fhem.pl: restoreDir restructured (Forum #85801)
|
||||
|
@ -115,7 +115,7 @@ sub FB_CALLLIST_Attr($@)
|
||||
{
|
||||
if($attrib eq "internal-number-filter")
|
||||
{
|
||||
if( $value =~ m/^{.*}$/ )
|
||||
if( $value =~ m/^{.*}$/s )
|
||||
{
|
||||
my $table = eval $value;
|
||||
|
||||
@ -143,7 +143,7 @@ sub FB_CALLLIST_Attr($@)
|
||||
}
|
||||
elsif($attrib eq "connection-mapping")
|
||||
{
|
||||
if($value and $value =~ m/^{.*}$/ )
|
||||
if($value and $value =~ m/^{.*}$/s )
|
||||
{
|
||||
my $table = eval $value;
|
||||
|
||||
@ -157,7 +157,7 @@ sub FB_CALLLIST_Attr($@)
|
||||
}
|
||||
elsif($attrib eq "icon-mapping")
|
||||
{
|
||||
if($value and $value =~ m/^{.*}$/ )
|
||||
if($value and $value =~ m/^{.*}$/s )
|
||||
{
|
||||
my $table = eval $value;
|
||||
|
||||
@ -171,7 +171,7 @@ sub FB_CALLLIST_Attr($@)
|
||||
}
|
||||
elsif($attrib eq "external-mapping")
|
||||
{
|
||||
if($value and $value =~ m/^{.*}$/ )
|
||||
if($value and $value =~ m/^{.*}$/s )
|
||||
{
|
||||
my $table = eval $value;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user