brendan braybrook
2014-08-11 c6183b649a1f9f7a6fc4849096f5845f03c86bc0
wrong type returned for gif
1 files modified
2 ■■■ changed files
program/lib/Roundcube/rcube_image.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_image.php
@@ -189,7 +189,7 @@
            }
            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);