mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 10:46:53 +00:00
FB_CALLLIST: fix not working icon-mapping when using quotation marks instead of apostrophe (Forum: #38691)
git-svn-id: https://svn.fhem.de/fhem/trunk@9001 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
60e7063d6d
commit
add3ba3790
@ -177,9 +177,8 @@ sub FB_CALLLIST_Attr($@)
|
||||
{
|
||||
if($value and $value =~ m/^{.*}$/ )
|
||||
{
|
||||
$value =~ s/@/\\\@/g;
|
||||
$value =~ s/\$/\\\$/g;
|
||||
$value =~ s/%/\\\%/g;
|
||||
$value =~ s/"/'/g; # workaround for array variable interpretation
|
||||
|
||||
my $table = eval $value;
|
||||
|
||||
if($table and ref($table) eq 'HASH')
|
||||
|
Loading…
x
Reference in New Issue
Block a user