From eff2a2768dfccfd9b59a91e1350529226a359688 Mon Sep 17 00:00:00 2001 From: brendan braybrook Date: Mon, 11 Aug 2014 23:21:02 +0000 Subject: wrong type returned for gif --- program/lib/Roundcube/rcube_image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/lib/Roundcube/rcube_image.php') diff --git a/program/lib/Roundcube/rcube_image.php b/program/lib/Roundcube/rcube_image.php index 4e4caae93..dccf0e01b 100644 --- a/program/lib/Roundcube/rcube_image.php +++ b/program/lib/Roundcube/rcube_image.php @@ -166,7 +166,7 @@ class rcube_image } else if($props['gd_type'] == IMAGETYPE_GIF && function_exists('imagecreatefromgif')) { $image = imagecreatefromgif($this->image_file); - $type = 'gid'; + $type = 'gif'; } else if($props['gd_type'] == IMAGETYPE_PNG && function_exists('imagecreatefrompng')) { $image = imagecreatefrompng($this->image_file); -- cgit v1.2.3