fix getMedia asset constructor returns wrong object type. Test Suite++ =)
This commit is contained in:
parent
80ef5e925a
commit
7122e069e6
2 changed files with 2 additions and 1 deletions
|
|
@ -786,7 +786,7 @@ A reference to the current session.
|
|||
sub getMedia {
|
||||
my $class = shift;
|
||||
my $session = shift;
|
||||
return WebGUI::Asset->new($session, "PBasset000000000000003");
|
||||
return WebGUI::Asset->newByDynamicClass($session, "PBasset000000000000003");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue