From: Tim Starling Date: Wed, 25 Apr 2007 07:39:26 +0000 (+0000) Subject: Bump cache version X-Git-Tag: 1.31.0-rc.0~53242 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=44ebc3d657d0daee0c7759fee333ea341f2d41c1;p=lhc%2Fweb%2Fwiklou.git Bump cache version --- diff --git a/includes/Image.php b/includes/Image.php index ffe3802043..89f6871d75 100644 --- a/includes/Image.php +++ b/includes/Image.php @@ -14,7 +14,7 @@ /** * Bump this number when serialized cache records may be incompatible. */ -define( 'MW_IMAGE_VERSION', 1 ); +define( 'MW_IMAGE_VERSION', 2 ); /** * Class to represent an image @@ -935,7 +935,7 @@ class Image $thumb = null; } elseif ( $thumb->isError() ) { $this->lastError = $thumb->toText(); - if ( $wgIgnoreImageErrors ) { + if ( $wgIgnoreImageErrors && !($flags & self::RENDER_NOW) ) { $thumb = $handler->getTransform( $this, $thumbPath, $thumbUrl, $params ); } }