From 6f55c2352d81d0b0463927eb3bcc931dd6558dd1 Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Sun, 11 May 2014 12:55:38 +0200 Subject: [PATCH] bugfix --- src/Intervention/Image/Gd/Source.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Intervention/Image/Gd/Source.php b/src/Intervention/Image/Gd/Source.php index 41c1c05f..0cf1c99d 100644 --- a/src/Intervention/Image/Gd/Source.php +++ b/src/Intervention/Image/Gd/Source.php @@ -70,7 +70,7 @@ class Source extends \Intervention\Image\AbstractSource ); } - $image = $this->initFromGdResource($core); + $image = $this->initFromGdResource($resource); $image->mime = finfo_buffer(finfo_open(FILEINFO_MIME_TYPE), $binary); return $image;