2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-16 10:46:03 +00:00

fhem.pl: parseParams fix from justme1968 (Forum #52242)

git-svn-id: https://svn.fhem.de/fhem/trunk@13622 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-03-05 21:37:35 +00:00
parent 821e01af3b
commit 160b55ddbb

View File

@ -4872,7 +4872,7 @@ parseParams($;$)
}
#collect all parts until opening { and closing } are matched
if( $value =~ m/^{/ ) { # } for match
if( $value =~ m/^\s*{/ ) { # } for match
my $count = 0;
for my $i (0..length($value)-1) {
my $c = substr($value, $i, 1);