From: Jure Kajzer Date: Wed, 9 Dec 2009 09:10:55 +0000 (+0000) Subject: Added missing braces. X-Git-Tag: 1.31.0-rc.0~38591 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=2275a0d7100fd3ec019be4799ae060e166b12591;p=lhc%2Fweb%2Fwiklou.git Added missing braces. --- 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