diff --git a/lib/WebGUI/AssetLineage.pm b/lib/WebGUI/AssetLineage.pm index 3a7f7289d..bd0fb1669 100644 --- a/lib/WebGUI/AssetLineage.pm +++ b/lib/WebGUI/AssetLineage.pm @@ -73,7 +73,7 @@ sub addChild { # Check if it is possible to add a child to this asset. If not add it as a sibling of this asset. if (length($self->get("lineage")) >= 252) { $self->session->errorHandler->warn('Tried to add child to asset "'.$self->getId.'" which is already on the deepest level. Adding it as a sibling instead.'); - return $self->getParent->addChild($properties, $id, $now); + return $self->getParent->addChild($properties, $id, $now, $options); } my $lineage = $self->get("lineage").$self->getNextChildRank; $self->{_hasChildren} = 1;