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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user