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 0438d3ea60
commit 0342603df3

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