mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
REGRESSION: fixed background color for PaddedImage
This commit is contained in:
parent
b7a00eea78
commit
d774bab988
@ -364,7 +364,7 @@ class Image extends File {
|
|||||||
* @param integer $height The height to size to
|
* @param integer $height The height to size to
|
||||||
* @return Image_Backend
|
* @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);
|
return $backend->paddedResize($width, $height, $backgroundColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user