pull permission tests out of Asset.t. Fix getName.
This commit is contained in:
parent
52d5883b77
commit
143e2e0d7b
2 changed files with 20 additions and 175 deletions
|
|
@ -1259,7 +1259,7 @@ Returns the human readable name of the asset.
|
|||
|
||||
sub getName {
|
||||
my $self = shift;
|
||||
return WebGUI::International->new($self->session, 'Asset')->get($self->getAttribute('assetName'));
|
||||
return WebGUI::International->new($self->session, 'Asset')->get(@{ $self->assetName });
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue