GUID comparison fixes from sf bug 1053187
This commit is contained in:
parent
037de192f3
commit
d56c1a3d49
5 changed files with 7 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue