mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
v2.8.0 missed bug
This commit is contained in:
parent
1904ecf7d9
commit
448f01e0c0
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ class GMagick extends \Gmagick implements \SnappyMail\Image
|
||||||
if (\method_exists($gmagick, 'getImageOrientation')) {
|
if (\method_exists($gmagick, 'getImageOrientation')) {
|
||||||
$gmagick->orientation = $gmagick->getImageOrientation();
|
$gmagick->orientation = $gmagick->getImageOrientation();
|
||||||
} else {
|
} else {
|
||||||
$gd2->orientation = Exif::getImageOrientation($data);
|
$gmagick->orientation = Exif::getImageOrientation($data);
|
||||||
}
|
}
|
||||||
return $gmagick;
|
return $gmagick;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue