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
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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