fixed [ 1306912 ] CMS Matrix - Unable to approve article's
This commit is contained in:
parent
e4c2bc9969
commit
7576dbfa78
6 changed files with 22 additions and 9 deletions
|
|
@ -422,7 +422,7 @@ Returns an asset hash of the parent of current Asset.
|
|||
|
||||
sub getParent {
|
||||
my $self = shift;
|
||||
return $self if ($self->get("assetId") eq "PBasset000000000000001");
|
||||
return $self if ($self->getId eq "PBasset000000000000001");
|
||||
$self->{_parent} = WebGUI::Asset->newByDynamicClass($self->get("parentId")) unless (exists $self->{_parent});
|
||||
return $self->{_parent};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue