From: Derk-Jan Hartman Date: Sun, 9 Jan 2011 22:54:51 +0000 (+0000) Subject: Followup r68325, with comment describing intent of code. X-Git-Tag: 1.31.0-rc.0~32658 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=bf6308d4aa06fd3412686d1993d3aacfc678a4d1;p=lhc%2Fweb%2Fwiklou.git Followup r68325, with comment describing intent of code. --- diff --git a/includes/media/GIF.php b/includes/media/GIF.php index b7c3f919ef..c4c8056ade 100644 --- a/includes/media/GIF.php +++ b/includes/media/GIF.php @@ -73,7 +73,8 @@ class GIFHandler extends BitmapHandler { if (!$metadata || $metadata['frameCount'] <= 1) return $original; - + + /* Preserve original image info string, but strip the last char ')' so we can add even more */ $info = array(); $info[] = substr( $original, 1, strlen( $original )-2 );