Displaying SVG logs directly from the FileLog (without weblink) causes undefined message

git-svn-id: https://svn.fhem.de/fhem/trunk@1818 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2012-08-30 16:24:23 +00:00
parent 8a6577b861
commit dba0fb5654

View File

@ -1219,7 +1219,7 @@ FW_readgplotfile($$$)
my (@filelog, @data, $plot); my (@filelog, @data, $plot);
my $wltype = ""; my $wltype = "";
$wltype = $defs{$wl}{WLTYPE} if (defined($defs{$wl}{WLTYPE})); $wltype = $defs{$wl}{WLTYPE} if($defs{$wl} && $defs{$wl}{WLTYPE});
open(FH, $gplot_pgm) || return (FW_fatal("$gplot_pgm: $!"), undef); open(FH, $gplot_pgm) || return (FW_fatal("$gplot_pgm: $!"), undef);
while(my $l = <FH>) { while(my $l = <FH>) {