fhem.pl: typeo nr#2 (Forum #38276)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8805 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-06-22 19:31:44 +00:00
parent 1d1523fb5a
commit 0fecf4fab3

View File

@ -1496,7 +1496,9 @@ ReplaceSetMagic(@) # Forum #38276
}/egi;
$a =~ s/{([^}]+)}/{
my $x = eval $1; $@ ? $1 : "{$x}"
my $x = eval $1;
Log 1, "ReplaceSetMagic: $1 -> $@" if($@);
$@ ? "{$1}" : $x
}/eg;
return split(" ", $a);