From fc998d96293210e93c479cf52dbb41bbc17f75ea Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Wed, 31 Oct 2012 13:16:35 -0400 Subject: [PATCH] fix rebase mistake --- lib/WebGUI/Storage.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/WebGUI/Storage.pm b/lib/WebGUI/Storage.pm index fca530812..e09004828 100644 --- a/lib/WebGUI/Storage.pm +++ b/lib/WebGUI/Storage.pm @@ -1231,6 +1231,7 @@ sub getSizeInPixels { $self->session->log->error("Can't check the size of something that's not an image."); return 0; } + my $image = Imager->new; $image->read(file => $self->getPath($filename)); return ($image->getwidth, $image->getheight); }