From 2945189adbbae736d2e2aeaff45ef7e237648f1c Mon Sep 17 00:00:00 2001 From: Frank Dillon Date: Wed, 19 Nov 2008 05:06:10 +0000 Subject: [PATCH] wrong constructor called on WebGUI::Storage::Image --- lib/WebGUI/Macro/StorageUrl.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Macro/StorageUrl.pm b/lib/WebGUI/Macro/StorageUrl.pm index 058e9faaa..39406598f 100644 --- a/lib/WebGUI/Macro/StorageUrl.pm +++ b/lib/WebGUI/Macro/StorageUrl.pm @@ -59,7 +59,7 @@ sub process { my $output = ""; # 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; if ( !$filename ) {