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

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

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