fix getMedia asset constructor returns wrong object type. Test Suite++ =)

This commit is contained in:
Roy Johnson 2006-08-16 21:30:49 +00:00
parent 80ef5e925a
commit 7122e069e6
2 changed files with 2 additions and 1 deletions

View file

@ -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");
}