Merge pull request #2122 from g4b0/1752-image-manipulation-parameter-regression

REGRESSION: fixed background color for PaddedImage
This commit is contained in:
Ingo Schommer 2013-06-19 01:25:44 -07:00
commit b7a00eea78

View File

@ -350,7 +350,7 @@ class Image extends File {
* @param integer $height The height to size to * @param integer $height The height to size to
* @return Image * @return Image
*/ */
public function PaddedImage($width, $height, $backgroundColor=null) { public function PaddedImage($width, $height, $backgroundColor='FFFFFF') {
return $this->isSize($width, $height) return $this->isSize($width, $height)
? $this ? $this
: $this->getFormattedImage('PaddedImage', $width, $height, $backgroundColor); : $this->getFormattedImage('PaddedImage', $width, $height, $backgroundColor);