2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +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:
markusbloch 2015-07-28 20:57:40 +00:00
parent 60e7063d6d
commit add3ba3790

View File

@ -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')