From d774bab988c904b37f7d3dea9eb6935495c0e62d Mon Sep 17 00:00:00 2001 From: Simon Welsh Date: Wed, 19 Jun 2013 20:35:24 +1200 Subject: [PATCH] REGRESSION: fixed background color for PaddedImage --- model/Image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/Image.php b/model/Image.php index 4c42722f2..22fc1f644 100644 --- a/model/Image.php +++ b/model/Image.php @@ -364,7 +364,7 @@ class Image extends File { * @param integer $height The height to size to * @return Image_Backend */ - public function generatePaddedImage(Image_Backend $backend, $width, $height, $backgroundColor=null) { + public function generatePaddedImage(Image_Backend $backend, $width, $height, $backgroundColor='FFFFFF') { return $backend->paddedResize($width, $height, $backgroundColor); }