r22570 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22569‎ | r22570 | r22571 >
Date:16:11, 30 May 2007
Author:aaron
Status:old
Tags:
Comment:
*I think this is a typo :)
Modified paths:
  • /branches/filerepo-work/phase3/includes/filerepo/LocalFile.php (modified) (history)

Diff [purge]

Index: branches/filerepo-work/phase3/includes/filerepo/LocalFile.php
@@ -1310,7 +1310,7 @@
13111311 function newFromTitle( $title, $time = false ) {
13121312 $img = wfFindFile( $title, $time );
13131313 if ( !$img ) {
1314 - $img = wfLocalFile( $time );
 1314+ $img = wfLocalFile( $title );
13151315 }
13161316 return $img;
13171317 }