From: Derk-Jan Hartman Date: Sun, 20 Jun 2010 16:17:19 +0000 (+0000) Subject: Follow up to r68324. Fix undefined constant. X-Git-Tag: 1.31.0-rc.0~36443 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22statistiques_visites%22%2C%22%22%29%20.%20%22?a=commitdiff_plain;h=8c3a2ad127aa611b6167da0cc64c403a0d2032d0;p=lhc%2Fweb%2Fwiklou.git Follow up to r68324. Fix undefined constant. --- diff --git a/includes/media/PNG.php b/includes/media/PNG.php index 927f173fa7..57f4dc0ab5 100644 --- a/includes/media/PNG.php +++ b/includes/media/PNG.php @@ -58,7 +58,7 @@ class PNGHandler extends BitmapHandler { $metadata = unserialize($image->getMetadata()); wfRestoreWarnings(); - if( !metadata || $metadata['frameCount'] == 0 ) + if( !$metadata || $metadata['frameCount'] <= 0 ) return $original; $info = array();