wrong constructor called on WebGUI::Storage::Image
This commit is contained in:
parent
bc5fd3c727
commit
2945189adb
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ sub process {
|
||||||
my $output = "";
|
my $output = "";
|
||||||
|
|
||||||
# Use WebGUI::Storage::Image because we might be getting an image
|
# Use WebGUI::Storage::Image because we might be getting an image
|
||||||
my $storage = WebGUI::Storage::Image->new( $session, $storageId );
|
my $storage = WebGUI::Storage::Image->get( $session, $storageId );
|
||||||
return "" if !$storage;
|
return "" if !$storage;
|
||||||
|
|
||||||
if ( !$filename ) {
|
if ( !$filename ) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue