2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 07:24:21 +00:00

01:FHEMWEB.pm: fix warning for plotEmbed 0 (Forum #91956)

git-svn-id: https://svn.fhem.de/fhem/trunk@17504 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-10-11 08:34:32 +00:00
parent 3a578d68c0
commit bb8e299292

View File

@ -1956,6 +1956,7 @@ FW_svgCollect($)
{
my ($cname,$d,$enc) = split(",",$_[0],3);
my $h = $FW_svgData{$cname};
return if(!$h); #91956
my ($res, $atEnds) = ($h->{RES}, $h->{ATENDS});
$res->{$d} = decode_base64($enc);
return if(int(keys %{$res}) != int(@{$atEnds}));