r68328 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68327‎ | r68328 | r68329 >
Date:16:17, 20 June 2010
Author:hartman
Status:ok
Tags:
Comment:
Follow up to r68324. Fix undefined constant.
Modified paths:
  • /trunk/phase3/includes/media/PNG.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/media/PNG.php
@@ -58,7 +58,7 @@
5959 $metadata = unserialize($image->getMetadata());
6060 wfRestoreWarnings();
6161
62 - if( !metadata || $metadata['frameCount'] == 0 )
 62+ if( !$metadata || $metadata['frameCount'] <= 0 )
6363 return $original;
6464
6565 $info = array();

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r68324Add a new PNG parser in order to recognize APNG (animated PNG) images.hartman16:09, 20 June 2010

Status & tagging log