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:
f1a23d3
)
do it properly!
author
minima
<minima>
Thu, 24 Feb 2005 19:54:15 +0000
(19:54 +0000)
committer
minima
<minima>
Thu, 24 Feb 2005 19:54:15 +0000
(19:54 +0000)
perl/Thingy/Rt.pm
patch
|
blob
|
history
diff --git
a/perl/Thingy/Rt.pm
b/perl/Thingy/Rt.pm
index 8ba7ee00aac373c70ed8d0f2a0df8499bc3f78d0..86c26ea8d487731e740b8d70808089bf4a113c21 100644
(file)
--- a/
perl/Thingy/Rt.pm
+++ b/
perl/Thingy/Rt.pm
@@
-98,7
+98,9
@@
sub handle_cf
if ($thing->{user}) {
$origin = $thing->{user};
my $ref = Route::Node::get($origin);
- unless ($ref) {
+ if ($ref) {
+ $parent = $ref;
+ } else {
# auto vivify a node that has come that we don't know about
push @pc19, $parent->add($origin, 0, 1);
$parent = Route::Node::get($origin); # reparent to me now.