r82448 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82447‎ | r82448 | r82449 >
Date:12:20, 19 February 2011
Author:catrope
Status:ok
Tags:
Comment:
Shut up "Argument #1 to array_merge() is not an array" warnings in LocalisationUpdate
Modified paths:
  • /trunk/extensions/LocalisationUpdate/LocalisationUpdate.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LocalisationUpdate/LocalisationUpdate.class.php
@@ -553,6 +553,9 @@
554554 continue;
555555 }
556556
 557+ if ( !isset( $compare_messages[$language] ) ) {
 558+ $compare_messages[$language] = array();
 559+ }
557560 // Add the already known messages to the array so we will only find new changes.
558561 $compare_messages[$language] = array_merge(
559562 $compare_messages[$language],

Follow-up revisions

RevisionCommit summaryAuthorDate
r824501.17wmf1: MFT r82447, r82448catrope12:33, 19 February 2011

Status & tagging log