GUID comparison fixes from sf bug 1053187

This commit is contained in:
Colin Kuskie 2004-10-25 21:49:52 +00:00
parent 037de192f3
commit d56c1a3d49
5 changed files with 7 additions and 6 deletions

View file

@ -88,7 +88,7 @@ sub buildTree {
foreach my $obj (grep {$_} @$objs) {
$nodes->{$obj->get($keyColumn)} = $obj;
$obj->{daughters} ||= [];
next if ($obj->get('parentId') == $obj->get($keyColumn));
next if ($obj->get('parentId') eq $obj->get($keyColumn));
push @{ $parentToChild{$obj->get('parentId')} }, $obj;
}