mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 07:57:02 +03:00
Bugfix: undefined $gmagick
This commit is contained in:
parent
e596d72cf4
commit
33623db6ea
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ class GMagick extends \Gmagick implements \SnappyMail\Image
|
||||||
|
|
||||||
public static function createFromStream($fp)
|
public static function createFromStream($fp)
|
||||||
{
|
{
|
||||||
if (!\method_exists($gmagick, 'getImageOrientation')) {
|
if (!\method_exists('Gmagick', 'getImageOrientation')) {
|
||||||
$data = \stream_get_contents($fp);
|
$data = \stream_get_contents($fp);
|
||||||
return static::createFromString($data);
|
return static::createFromString($data);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue