]> dxcluster.net Git - spider.git/commitdiff
fix missing if $ref in alldxchan
authorminima <minima>
Fri, 8 Jun 2001 16:27:46 +0000 (16:27 +0000)
committerminima <minima>
Fri, 8 Jun 2001 16:27:46 +0000 (16:27 +0000)
perl/Route.pm

index f406a98a619bf2460abb532a97d088b8320b1d0d..3f940426f4068ffb1e7242de41765eff645b5125 100644 (file)
@@ -243,7 +243,7 @@ sub alldxchan
        my @dxchan = @_;
        foreach my $p (@{$self->{parent}}) {
                my $ref = $self->get($p);
-               push @dxchan, $ref->alldxchan(@dxchan);
+               push @dxchan, $ref->alldxchan(@dxchan) if $ref;
        }
        return @dxchan;
 }