Index: trunk/extensions/Translate/TranslateEditAddons.php |
— | — | @@ -260,7 +260,7 @@ |
261 | 261 | // Take the contents from edit field as a translation |
262 | 262 | $message->database = $translation; |
263 | 263 | $checker = MessageChecks::getInstance(); |
264 | | - if ( $checker->hasChecks( $type ) ) { |
| 264 | + if ( $checker->hasChecks( $group->getType() ) ) { |
265 | 265 | $checks = $checker->doChecks( $message, $group->getType(), $code ); |
266 | 266 | if ( count($checks) ) { |
267 | 267 | $checkMessages = array(); |