mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 01:09:47 +00:00
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:
parent
4bc0f36892
commit
0ba87e912d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user