Merge pull request #14138 from owncloud/fix-image-flip-php53
Don't flip image in PHP 5.4
This commit is contained in:
commit
d5ca5c7bcc
|
@ -391,7 +391,7 @@ class OC_Image {
|
|||
$rotate = 90;
|
||||
break;
|
||||
}
|
||||
if($flip) {
|
||||
if($flip && function_exists('imageflip')) {
|
||||
imageflip($this->resource, IMG_FLIP_HORIZONTAL);
|
||||
}
|
||||
if ($rotate) {
|
||||
|
|
Loading…
Reference in New Issue