fhem.pl: typo (Forum #38276)

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

View File

@ -1492,7 +1492,7 @@ ReplaceSetMagic(@) # Forum #38276
my $a = join(" ", @_);
$a =~ s/\[([a-z0-9._]+):([A-z0-9._]+)\]/{
my $x = ReadingsVal($1,$2,""); $x eq "" ? "$1:$2" : "[$x]"
my $x = ReadingsVal($1,$2,""); $x eq "" ? "[$1:$2]" : $x
}/egi;
$a =~ s/{([^}]+)}/{