FB_CALLLIST: fix not working icon-mapping when using quotation marks instead of apostrophe (Forum: #38691)

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@9001 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch
2015-07-28 20:57:40 +00:00
parent edc1915d65
commit 7d45052e33

View File

@@ -177,9 +177,8 @@ sub FB_CALLLIST_Attr($@)
{ {
if($value and $value =~ m/^{.*}$/ ) if($value and $value =~ m/^{.*}$/ )
{ {
$value =~ s/@/\\\@/g; $value =~ s/"/'/g; # workaround for array variable interpretation
$value =~ s/\$/\\\$/g;
$value =~ s/%/\\\%/g;
my $table = eval $value; my $table = eval $value;
if($table and ref($table) eq 'HASH') if($table and ref($table) eq 'HASH')