fix small issue in addChild
This commit is contained in:
parent
653fea0aa6
commit
ede922e060
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue