Added missing braces.
This commit is contained in:
parent
8c0dbeb928
commit
2275a0d710
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue