r108037 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108036‎ | r108037 | r108038 >
Date:15:23, 4 January 2012
Author:reedy
Status:ok
Tags:
Comment:
Fix undefined $group on line 175
Modified paths:
  • /trunk/extensions/Translate/utils/TranslationHelpers.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/utils/TranslationHelpers.php
@@ -172,7 +172,7 @@
173173 $code = $this->handle->getCode();
174174 if ( !$code ) {
175175 $this->mustBeKnownMessage();
176 - $code = $group->getSourceLanguage();
 176+ $code = $this->group->getSourceLanguage();
177177 }
178178 if ( $code === $wgTranslateDocumentationLanguageCode ) {
179179 return $wgLanguageCode;

Status & tagging log