fix problem displaying spots with the standalone program 'showdx'.
[spider.git] / cmd / show / dx.pl
index 31809a734c7158be99dda8f73835fcb0b22beaba..17a17d27e3e23e4fa0ec19a0aa092ddbb3699862 100644 (file)
@@ -369,7 +369,7 @@ my @res = Spot::search($expr, $fromday, $today, $from, $to, $hint, $dofilter ? $
 my $ref;
 my @dx;
 foreach $ref (@res) {
-       if ($self->ve7cc) {
+       if ($self && $self->ve7cc) {
                push @out, VE7CC::dx_spot($self, @$ref);
        } else {
                if ($real) {