mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-17 17:36:01 +00:00
fhem.pl: Fix nested $EVENT eval (Forum #72231)
git-svn-id: https://svn.fhem.de/fhem/trunk@14344 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
36c21fd3a9
commit
28c272fb85
@ -1013,8 +1013,10 @@ AnalyzeCommandChain($$;$)
|
||||
my @saveCmdList = @cmdList; # Needed for recursive calls
|
||||
@cmdList = split(";", $cmd);
|
||||
my $subcmd;
|
||||
my $localEvalSpecials = $evalSpecials;
|
||||
while(defined($subcmd = shift @cmdList)) {
|
||||
$subcmd =~ s/SeMiCoLoN/;/g;
|
||||
$evalSpecials = $localEvalSpecials;
|
||||
my $lret = AnalyzeCommand($c, $subcmd, "ACC");
|
||||
push(@ret, $lret) if(defined($lret));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user