r51012 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51011‎ | r51012 | r51013 >
Date:13:03, 26 May 2009
Author:thedevilonline
Status:deferred
Tags:
Comment:
If I have another typo that's causing error's I'll give everyone a cookie
Modified paths:
  • /trunk/extensions/LocalisationUpdate/LocalisationUpdate.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LocalisationUpdate/LocalisationUpdate.class.php
@@ -256,7 +256,7 @@
257257 $changedStrings = array_diff_assoc( $base_messages, $compare_messages );
258258
259259 // If we want to save the differences
260 - if ( $saveResults === true && !empty($changedStrings) && is_array($changeStrings)) {
 260+ if ( $saveResults === true && !empty($changedStrings) && is_array($changedStrings)) {
261261 self::myLog( "--Checking languagecode {$langcode}--" );
262262 // The save them
263263 $updates = self::saveChanges( $changedStrings, $forbiddenKeys, $base_messages, $langcode );
@@ -442,7 +442,7 @@
443443 $changedStrings = array_diff_assoc( $messages, $compare_messages[$language] );
444444
445445 // If we want to save the changes
446 - if ( $saveResults === true && !empty($changedStrings) && is_array($changeStrings)) {
 446+ if ( $saveResults === true && !empty($changedStrings) && is_array($changedStrings)) {
447447 self::myLog( "--Checking languagecode {$langcode}--" );
448448 // The save them
449449 $updates = self::saveChanges( $changedStrings, $forbiddenKeys, $base_messages, $langcode );

Status & tagging log