Index: trunk/extensions/Translate/MessageGroups.php |
— | — | @@ -98,7 +98,8 @@ |
99 | 99 | public function load( $code ) { |
100 | 100 | $reader = $this->getReader( $code ); |
101 | 101 | if ( $reader ) { |
102 | | - return $reader->parseMessages( $this->mangler ); |
| 102 | + $messages = $reader->parseMessages( $this->mangler ); |
| 103 | + return $messages ? $messages : array(); |
103 | 104 | } |
104 | 105 | return array(); |
105 | 106 | } |