2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-20 07:16:03 +00:00

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
This commit is contained in:
betateilchen 2014-02-26 12:36:45 +00:00
parent 731e21af12
commit 88c1a1e9ea

View File

@ -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