From 8f51649160246586aabfd30f516ec601c028a3db Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Fri, 22 Aug 2008 03:05:28 +0000 Subject: [PATCH] BUGFIX SetHeight() was calling SetWidth using getFormattedImage() git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61395 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/model/Image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/model/Image.php b/core/model/Image.php index 98b45716c..b4b94d82c 100755 --- a/core/model/Image.php +++ b/core/model/Image.php @@ -172,7 +172,7 @@ class Image extends File { } public function SetHeight($height) { - return $this->getFormattedImage('SetWidth', $height); + return $this->getFormattedImage('SetHeight', $height); } public function SetSize($width, $height) {