From bf6308d4aa06fd3412686d1993d3aacfc678a4d1 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Sun, 9 Jan 2011 22:54:51 +0000 Subject: [PATCH] Followup r68325, with comment describing intent of code. --- includes/media/GIF.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); -- 2.20.1