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
34287895ef
commit
c06a9095df
@ -350,7 +350,7 @@ class Image extends File {
|
||||
* @param integer $height The height to size to
|
||||
* @return Image
|
||||
*/
|
||||
public function PaddedImage($width, $height, $backgroundColor=null) {
|
||||
public function PaddedImage($width, $height, $backgroundColor='FFFFFF') {
|
||||
return $this->isSize($width, $height)
|
||||
? $this
|
||||
: $this->getFormattedImage('PaddedImage', $width, $height, $backgroundColor);
|
||||
|
Loading…
x
Reference in New Issue
Block a user