mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02: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
|
||||
* @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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user