projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fe8204e
)
allow null version on hello
author
minima
<minima>
Thu, 24 Feb 2005 19:17:25 +0000
(19:17 +0000)
committer
minima
<minima>
Thu, 24 Feb 2005 19:17:25 +0000
(19:17 +0000)
perl/Thingy/Hello.pm
patch
|
blob
|
history
diff --git
a/perl/Thingy/Hello.pm
b/perl/Thingy/Hello.pm
index a23bb43877e1a35b4cac86449d3e07987cf4070f..aa51de1c539ba7fce04fbf08b2d70e0605e1e047 100644
(file)
--- a/
perl/Thingy/Hello.pm
+++ b/
perl/Thingy/Hello.pm
@@
-116,12
+116,12
@@
sub handle
my @ref;
my $uref = DXUser->get_current($user) || Thingy::Rt::_upd_user_rec($user, $origin)->put;
if ($uref->is_node || $uref->is_aranea) {
my @ref;
my $uref = DXUser->get_current($user) || Thingy::Rt::_upd_user_rec($user, $origin)->put;
if ($uref->is_node || $uref->is_aranea) {
- push @ref, $nref->add($user, $thing->{v}
, $thing->{h}
);
+ push @ref, $nref->add($user, $thing->{v}
|| 0, $thing->{h} || 0
);
push @{$thing->{pc19n}}, @ref if @ref;
do $_->np(1) for @ref;
} else {
$thing->{pc16n} = $nref;
push @{$thing->{pc19n}}, @ref if @ref;
do $_->np(1) for @ref;
} else {
$thing->{pc16n} = $nref;
- push @ref, $nref->add_user($user, $thing->{h});
+ push @ref, $nref->add_user($user, $thing->{h}
|| 0
);
$thing->{pc16u} = \@ref if @ref;
}
}
$thing->{pc16u} = \@ref if @ref;
}
}