summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorbrendan braybrook <brendan@tucows.com>2014-08-11 23:21:02 +0000
committerbrendan braybrook <brendan@tucows.com>2014-08-11 23:21:02 +0000
commitc6183b649a1f9f7a6fc4849096f5845f03c86bc0 (patch)
treebb40dcc6045432270de4714aa237ae90132e6f49 /program
parente9ecd49f7460f571e2bf13161038371e2d5f8bfb (diff)
wrong type returned for gif
Diffstat (limited to 'program')
-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 a15368a7e..a432d9218 100644
--- a/program/lib/Roundcube/rcube_image.php
+++ b/program/lib/Roundcube/rcube_image.php
@@ -189,7 +189,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);