2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

SetExtensions.pm: bugfix (Forum #124505)

git-svn-id: https://svn.fhem.de/fhem/trunk@25286 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2021-12-03 10:16:56 +00:00
parent ceef063f8b
commit 6a6139be91

View File

@ -95,7 +95,7 @@ SetExtensions($$@)
}
# Forum #124505
$list =~ s/:\{([^ ]+)\}/$cmdFromAnalyze=$1; ":".(eval $1)/e if($cmd eq "?");
$list =~ s/:\{([^ ]+)\}/$cmdFromAnalyze=$1; ":".(eval $1)/ge if($cmd eq "?");
if(!$onCmd || !$offCmd) { # No extension
return AttrTemplate_Set($hash, $list, $name, $cmd, @a);