summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_image.php
diff options
context:
space:
mode:
authorbrendan braybrook <brendan@tucows.com>2014-08-11 23:21:02 +0000
committerAleksander Machniak <alec@alec.pl>2014-08-13 14:36:34 +0200
commiteff2a2768dfccfd9b59a91e1350529226a359688 (patch)
treec4083669611170924026e5a7f729ae14b95a5513 /program/lib/Roundcube/rcube_image.php
parenta1bb59d601ea44a49228cf81c1b18a2b2cb828a0 (diff)
wrong type returned for gif
Diffstat (limited to 'program/lib/Roundcube/rcube_image.php')
-rw-r--r--program/lib/Roundcube/rcube_image.php2
1 files changed, 1 insertions, 1 deletions
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);