mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +00:00
10_MQTT2_DEVICE.pm: Fix {} parsing i setList/getList (Forum #109723)
git-svn-id: https://svn.fhem.de/fhem/trunk@21560 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3a0021c6a1
commit
95c570a3f4
@ -312,7 +312,7 @@ MQTT2_buildCmd($$$)
|
||||
my ($hash, $a, $cmd) = @_;
|
||||
|
||||
shift @{$a};
|
||||
if($cmd =~ m/^{.*}\s+$/) {
|
||||
if($cmd =~ m/^{.*}\s*$/) {
|
||||
$cmd = EvalSpecials($cmd,
|
||||
("%EVENT" => join(" ",@{$a}),
|
||||
"%NAME" => $hash->{NAME},
|
||||
|
Loading…
x
Reference in New Issue
Block a user