From 2275a0d7100fd3ec019be4799ae060e166b12591 Mon Sep 17 00:00:00 2001 From: Jure Kajzer Date: Wed, 9 Dec 2009 09:10:55 +0000 Subject: [PATCH] Added missing braces. --- includes/filerepo/File.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/filerepo/File.php b/includes/filerepo/File.php index ede98b6270..c020f7ff37 100644 --- a/includes/filerepo/File.php +++ b/includes/filerepo/File.php @@ -561,7 +561,7 @@ abstract class File { wfDebug( __METHOD__.": Doing stat for $thumbPath\n" ); $this->migrateThumbFile( $thumbName ); - if ( file_exists( $thumbPath )) + if ( file_exists( $thumbPath )) { $thumbTime = filemtime( $thumbPath ); if ( $thumbTime !== FALSE && gmdate( 'YmdHis', $thumbTime ) >= $wgThumbnailEpoch ) { @@ -569,6 +569,7 @@ abstract class File { $thumb = $this->handler->getTransform( $this, $thumbPath, $thumbUrl, $params ); break; } + } $thumb = $this->handler->doTransform( $this, $thumbPath, $thumbUrl, $params ); // Ignore errors if requested -- 2.20.1