r84271 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84270‎ | r84271 | r84272 >
Date:22:01, 18 March 2011
Author:reedy
Status:ok
Tags:
Comment:
Fix fatal Invalid argument supplied for foreach
Modified paths:
  • /trunk/phase3/maintenance/dumpInterwiki.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/dumpInterwiki.php
@@ -163,7 +163,7 @@
164164 $this->makeLanguageLinks ( $site, "_" . $site->suffix );
165165 }
166166
167 - foreach ( $dblist as $db ) {
 167+ foreach ( $this->dblist as $db ) {
168168 if ( isset( $this->specials[$db] ) ) {
169169 # Special wiki
170170 # Has interwiki links and interlanguage links to wikipedia

Follow-up revisions

RevisionCommit summaryAuthorDate
r84274MFT r84271reedy22:04, 18 March 2011
r85434MFT: r83885, r83891, r83897, r83902, r83903, r83934, r83965, r83979, r83988, ...demon13:38, 5 April 2011

Status & tagging log