projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
217d9d5
)
fix delete code
author
minima
<minima>
Tue, 16 Jan 2007 11:52:55 +0000
(11:52 +0000)
committer
minima
<minima>
Tue, 16 Jan 2007 11:52:55 +0000
(11:52 +0000)
perl/Route/Node.pm
patch
|
blob
|
history
diff --git
a/perl/Route/Node.pm
b/perl/Route/Node.pm
index ccbd91d1e1ce4b28da7b0a50985b8e5477f54fc2..e50302cd1b494e65a16fa04f3befb37e1b1c4337 100644
(file)
--- a/
perl/Route/Node.pm
+++ b/
perl/Route/Node.pm
@@
-121,8
+121,9
@@
sub delete
my @out;
$self->_del_users;
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;
}
}
return @out;
}