Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -494,7 +494,7 @@ |
495 | 495 | $ig->mParser->mOutput->fr_ImageSHA1Keys[$nt->getDBkey()] = array(); |
496 | 496 | $ig->mParser->mOutput->fr_ImageSHA1Keys[$nt->getDBkey()][$time] = $sha1; |
497 | 497 | # Bug 15748, be lax about commons image sync status |
498 | | - $file = $file ? $file : wfFindFile( $title, $time ); # FIXME: would be nice not to double fetch! |
| 498 | + $file = $file ? $file : wfFindFile( $nt, $time ); # FIXME: would be nice not to double fetch! |
499 | 499 | if( $file && $file->isLocal() && $time > $ig->mParser->mOutput->fr_newestImageTime ) { |
500 | 500 | $ig->mParser->mOutput->fr_newestImageTime = $time; |
501 | 501 | } |