mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-02 21:12:02 +08: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)
|
||||
{
|
||||
if (!\method_exists($gmagick, 'getImageOrientation')) {
|
||||
if (!\method_exists('Gmagick', 'getImageOrientation')) {
|
||||
$data = \stream_get_contents($fp);
|
||||
return static::createFromString($data);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue