2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

FileLog/SVG: direct FileLog Plot bug, when SVGcache is on (forum #23671)

git-svn-id: https://svn.fhem.de/fhem/trunk@5876 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-05-16 19:54:51 +00:00
parent 171cafb70d
commit 79b4b795e0
2 changed files with 3 additions and 2 deletions

View File

@ -465,7 +465,7 @@ FileLog_logWrapper($)
}
FW_pO "<table><tr><td>";
FW_pO "<td>";
my $logtype = $defs{$d}{TYPE};
my $logtype = $defs{$d}{NAME};
my $wl = "&amp;pos=" . join(";", map {"$_=$FW_pos{$_}"} keys %FW_pos);
my $arg = "$FW_ME/SVG_showLog&dev=$logtype&logdev=$d".
"&gplotfile=$type&logfile=$file$wl";

View File

@ -501,7 +501,8 @@ SVG_readgplotfile($$)
my $ldType = $defs{$defs{$wl}{LOGDEVICE}}{TYPE}
if($defs{$wl} && $defs{$wl}{LOGDEVICE} && $defs{$defs{$wl}{LOGDEVICE}});
$ldType = $wl if(!$ldType);
$ldType = $defs{$wl}{TYPE}
if(!$ldType && $defs{$wl});
my ($err, @svgplotfile) = FileRead($gplot_pgm);
return ("$err", undef) if($err);