From 6a6139be91a1bb1479c0f62384cb170715dc0841 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Fri, 3 Dec 2021 10:16:56 +0000 Subject: [PATCH] SetExtensions.pm: bugfix (Forum #124505) git-svn-id: https://svn.fhem.de/fhem/trunk@25286 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/SetExtensions.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/SetExtensions.pm b/fhem/FHEM/SetExtensions.pm index 6fa49edd1..8de151876 100644 --- a/fhem/FHEM/SetExtensions.pm +++ b/fhem/FHEM/SetExtensions.pm @@ -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);