From 44ebc3d657d0daee0c7759fee333ea341f2d41c1 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Wed, 25 Apr 2007 07:39:26 +0000 Subject: [PATCH] Bump cache version --- includes/Image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); } } -- 2.20.1