r56467 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56466‎ | r56467 | r56468 >
Date:00:27, 17 September 2009
Author:brion
Status:ok
Tags:
Comment:
merge r56462 fix from trunk
Modified paths:
  • /branches/wmf-deployment/languages/LanguageConverter.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/languages/LanguageConverter.php
@@ -566,7 +566,7 @@
567567 function findVariantLink( &$link, &$nt, $ignoreOtherCond = false ) {
568568 # If the article has already existed, there is no need to
569569 # check it again, otherwise it may cause a fault.
570 - if ( $nt->exists() )
 570+ if ( is_object( $nt ) && $nt->exists() )
571571 return;
572572
573573 global $wgDisableLangConversion, $wgDisableTitleConversion, $wgRequest, $wgUser;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r56462$nt may or may not be an objectaaron23:59, 16 September 2009

Status & tagging log