fix delete code

This commit is contained in:
minima 2007-01-16 11:52:55 +00:00
parent 217d9d54b6
commit 5ba4018131

View File

@ -121,8 +121,9 @@ sub delete
my @out;
$self->_del_users;
foreach my $parent (@{$self->{parent}}) {
push @out, $parent->del($self);
foreach my $call (@{$self->{parent}}) {
my $parent = Route::Node::get($call);
push @out, $parent->del($self) if $parent;
}
return @out;
}