From 88c1a1e9ea2e5fc17afa6763adfa3182c2e47035 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Wed, 26 Feb 2014 12:36:45 +0000 Subject: [PATCH] fixed: "my" variable $FP_ret masks earlier declaration (as discussed with Uli) git-svn-id: https://svn.fhem.de/fhem/trunk@5051 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/95_FLOORPLAN.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/95_FLOORPLAN.pm b/fhem/FHEM/95_FLOORPLAN.pm index 2364f9d6b..cf547cbc4 100644 --- a/fhem/FHEM/95_FLOORPLAN.pm +++ b/fhem/FHEM/95_FLOORPLAN.pm @@ -260,7 +260,7 @@ FP_CGI(){ } ## process cgi my $commands = FP_digestCgi($htmlpart[1]) if $htmlpart[1]; # analyze URL-commands - my $FP_ret = my $FP_ret = AnalyzeCommand(undef, $commands, + my $FP_ret = AnalyzeCommand(undef, $commands, AttrVal($FW_wname,"allowedCommands",undef)) if $commands; #Execute commands Log3 "FLOORPLAN", 1, "FLOORPLAN: regex-error. commands: $commands; FP_ret: $FP_ret" if($FP_ret && ($FP_ret =~ m/regex/ )); #test #####redirect URL - either back to fhemweb-detailscreen, or for redirectCmds to suppress repeated execution of commands upon browser refresh