r51010 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51009‎ | r51010 | r51011 >
Date:12:31, 26 May 2009
Author:thedevilonline
Status:deferred
Tags:
Comment:
Fixed bug with non-existing array
Modified paths:
  • /trunk/extensions/LocalisationUpdate/LocalisationUpdate.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LocalisationUpdate/LocalisationUpdate.class.php
@@ -434,7 +434,7 @@
435435 }
436436
437437
438 - if ( empty( $compare_messages[$language] ) ) {
 438+ if ( empty( $compare_messages[$language] ) || !is_array($compare_messages[$language]) ) {
439439 $compare_messages[$language] = array();
440440 }
441441

Status & tagging log