Bugfix: undefined $gmagick

This commit is contained in:
the-djmaze 2022-03-25 15:35:10 +01:00
parent e596d72cf4
commit 33623db6ea

View file

@ -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);
}