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

@ -14,6 +14,7 @@
- fix: Email address with just one character in the user part not accepted
- fix: Image (file) added to page shows before committing changes
- fix: Typo in fileImport.pl at line 265 (zxp)
- fix: getMedia asset constructor returning wrong object type
7.0.5

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