From 88dbf7b1870ded41cc3519d20c8aa735bc39d494 Mon Sep 17 00:00:00 2001 From: Scott Walters Date: Fri, 2 Nov 2012 17:19:30 -0400 Subject: [PATCH] fix variable name usage in Imager work from haarg after rebase --- lib/WebGUI/Storage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Storage.pm b/lib/WebGUI/Storage.pm index e09004828..c4e16ef7e 100644 --- a/lib/WebGUI/Storage.pm +++ b/lib/WebGUI/Storage.pm @@ -1612,7 +1612,7 @@ sub resize { $width = $height * $x / $y; } $self->session->errorHandler->info( "Resizing $filename to w:$width h:$height" ); - $image = $image->scale(xpixels => $n, ypixels => $n, type => 'nonprop') + $image = $image->scale(xpixels => $width, ypixels => $height, type => 'nonprop') or die $image->errstr; }