Index: trunk/extensions/Translate/TranslateTasks.php |
— | — | @@ -372,10 +372,10 @@ |
373 | 373 | |
374 | 374 | public function output() { |
375 | 375 | if ( $this->group instanceof MessageGroupBase ) { |
376 | | - $ffs = $this->group->getFFS(); |
377 | | - if ( !$ffs ) { |
| 376 | + if ( !$this->group instanceof FileBasedMessageGroup ) { |
378 | 377 | $data = 'Not supported'; |
379 | 378 | } else { |
| 379 | + $ffs = $this->group->getFFS(); |
380 | 380 | $data = $ffs->writeIntoVariable( $this->collection ); |
381 | 381 | } |
382 | 382 | } else { |