r37689 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37688‎ | r37689 | r37690 >
Date:12:48, 15 July 2008
Author:nikerabbit
Status:old
Tags:
Comment:
* Fix for the previous commit
Modified paths:
  • /trunk/extensions/Translate/TranslateEditAddons.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/TranslateEditAddons.php
@@ -260,7 +260,7 @@
261261 // Take the contents from edit field as a translation
262262 $message->database = $translation;
263263 $checker = MessageChecks::getInstance();
264 - if ( $checker->hasChecks( $type ) ) {
 264+ if ( $checker->hasChecks( $group->getType() ) ) {
265265 $checks = $checker->doChecks( $message, $group->getType(), $code );
266266 if ( count($checks) ) {
267267 $checkMessages = array();

Status & tagging log