Move getParent over to using Moose attributes.
This commit is contained in:
parent
8b52d3ff76
commit
b7761ce50e
1 changed files with 1 additions and 1 deletions
|
|
@ -725,7 +725,7 @@ sub getParent {
|
|||
return $self if ($self->getId eq "PBasset000000000000001");
|
||||
|
||||
unless ( $self->{_parent} ) {
|
||||
$self->{_parent} = WebGUI::Asset->newById($self->session,$self->get("parentId"));
|
||||
$self->{_parent} = WebGUI::Asset->newById($self->session,$self->parentId);
|
||||
}
|
||||
|
||||
return $self->{_parent};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue