Index: trunk/extensions/Translate/utils/TranslationHelpers.php |
— | — | @@ -172,7 +172,7 @@ |
173 | 173 | $code = $this->handle->getCode(); |
174 | 174 | if ( !$code ) { |
175 | 175 | $this->mustBeKnownMessage(); |
176 | | - $code = $group->getSourceLanguage(); |
| 176 | + $code = $this->group->getSourceLanguage(); |
177 | 177 | } |
178 | 178 | if ( $code === $wgTranslateDocumentationLanguageCode ) { |
179 | 179 | return $wgLanguageCode; |