REGRESSION: fixed background color for PaddedImage

This commit is contained in:
Simon Welsh 2013-06-19 20:35:24 +12:00
parent b7a00eea78
commit d774bab988

View File

@ -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);
}