From 3023ed90aab7483dc2322b25996efbfb6498605b Mon Sep 17 00:00:00 2001 From: Maxime Colin Date: Thu, 26 Sep 2013 15:04:31 +0200 Subject: [PATCH] Fix typo --- Imagine/Filter/Loader/UpscaleFilterLoader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Imagine/Filter/Loader/UpscaleFilterLoader.php b/Imagine/Filter/Loader/UpscaleFilterLoader.php index 3f85b3163..27730145a 100644 --- a/Imagine/Filter/Loader/UpscaleFilterLoader.php +++ b/Imagine/Filter/Loader/UpscaleFilterLoader.php @@ -36,7 +36,7 @@ public function load(ImageInterface $image, array $options = array()) $ratio = $widthRatio > $heightRatio ? $widthRatio : $heightRatio; - $filter = new Resize(new Box($$origWidth * $origHeight * $ratio)); + $filter = new Resize(new Box($origWidth * $ratio, $origHeight * $ratio)); return $filter->apply($image); }