mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
98_SVG.pm: check for $defs{""} (Forum #32427)
git-svn-id: https://svn.fhem.de/fhem/trunk@7632 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
683e9fb715
commit
9d830526cb
@ -655,7 +655,7 @@ SVG_readgplotfile($$$)
|
||||
if($l =~ m/^#([^ ]*) (.*)$/) {
|
||||
if($1 eq $ldType) {
|
||||
$src = $ld; $plotfn = $2;
|
||||
} elsif($defs{$1}) {
|
||||
} elsif($1 && $defs{$1}) {
|
||||
$src = $1; $plotfn = $2;
|
||||
}
|
||||
} elsif($l =~ "^plot" || $plot) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user