mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 14:16:42 +00:00
98_SVG.pm: dont crash if the internal data is not a pointer.
git-svn-id: https://svn.fhem.de/fhem/trunk@7546 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0027c459f1
commit
c72ac40ba1
@ -1068,10 +1068,10 @@ SVG_getData($$$$$)
|
|||||||
FW_fC($cmd);
|
FW_fC($cmd);
|
||||||
if($showData) {
|
if($showData) {
|
||||||
$ret .= "\n$cmd\n\n";
|
$ret .= "\n$cmd\n\n";
|
||||||
$ret .= $$internal_data;
|
$ret .= $$internal_data if(ref $internal_data eq "SCALAR");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
push(@da, $internal_data);
|
push(@da, $internal_data);
|
||||||
|
|
||||||
for(my $i = 0; $i<=$s->{idx}; $i++) {
|
for(my $i = 0; $i<=$s->{idx}; $i++) {
|
||||||
my %h;
|
my %h;
|
||||||
foreach my $k (@keys) {
|
foreach my $k (@keys) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user