Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
maximecolin committed Sep 26, 2013
1 parent 07613c2 commit 3023ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Imagine/Filter/Loader/UpscaleFilterLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 3023ed9

Please sign in to comment.