mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
longpollSVG fix
git-svn-id: https://svn.fhem.de/fhem/trunk@3319 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
915df8cbb2
commit
d3ed3ee144
@ -384,6 +384,11 @@ weblink_WriteGplot($)
|
|||||||
my ($arg) = @_;
|
my ($arg) = @_;
|
||||||
FW_digestCgi($arg);
|
FW_digestCgi($arg);
|
||||||
|
|
||||||
|
if(!defined($FW_webArgs{cl_0})) {
|
||||||
|
return("text/html;",
|
||||||
|
"missing data in logfile: won't write incomplete .gplot definition");
|
||||||
|
}
|
||||||
|
|
||||||
my $hasTl;
|
my $hasTl;
|
||||||
for(my $i=0; $i <= 8; $i++) {
|
for(my $i=0; $i <= 8; $i++) {
|
||||||
$hasTl = 1 if($FW_webArgs{"title_$i"});
|
$hasTl = 1 if($FW_webArgs{"title_$i"});
|
||||||
@ -434,9 +439,6 @@ weblink_WriteGplot($)
|
|||||||
print FH "plot ".join(",\\\n ", @plot)."\n";
|
print FH "plot ".join(",\\\n ", @plot)."\n";
|
||||||
close(FH);
|
close(FH);
|
||||||
|
|
||||||
#foreach my $k (sort keys %FW_webArgs) {
|
|
||||||
# Log 1, "$k: $FW_webArgs{$k}";
|
|
||||||
#}
|
|
||||||
return (undef, "continue");
|
return (undef, "continue");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user