brendan braybrook
2014-08-11 eff2a2768dfccfd9b59a91e1350529226a359688
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
@@ -166,7 +166,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);