r73772 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73771‎ | r73772 | r73773 >
Date:13:03, 26 September 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Avoid Fatal when someone tries to export AggregateMessageGroup
Modified paths:
  • /trunk/extensions/Translate/TranslateTasks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/TranslateTasks.php
@@ -346,7 +346,7 @@
347347 protected function doPaging() {}
348348
349349 public function output() {
350 - if ( $this->group instanceof FileBasedMessageGroup ) {
 350+ if ( $this->group instanceof MessageGroupBase ) {
351351 $ffs = $this->group->getFFS();
352352 $data = $ffs->writeIntoVariable( $this->collection );
353353 } else {

Status & tagging log