From 7d45052e338032a4b6e373f9ceb2149d71e97d74 Mon Sep 17 00:00:00 2001 From: markusbloch Date: Tue, 28 Jul 2015 20:57:40 +0000 Subject: [PATCH] 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 --- fhem/FHEM/72_FB_CALLLIST.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fhem/FHEM/72_FB_CALLLIST.pm b/fhem/FHEM/72_FB_CALLLIST.pm index dbdfd0537..21407f9dc 100755 --- a/fhem/FHEM/72_FB_CALLLIST.pm +++ b/fhem/FHEM/72_FB_CALLLIST.pm @@ -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')