Index: trunk/extensions/Translate/MessageGroups.php |
— | — | @@ -100,6 +100,7 @@ |
101 | 101 | if ( $reader ) { |
102 | 102 | return $reader->parseMessages( $this->mangler ); |
103 | 103 | } |
| 104 | + return array(); |
104 | 105 | } |
105 | 106 | |
106 | 107 | /** |
— | — | @@ -349,7 +350,7 @@ |
350 | 351 | if ( isset( $cache[$code] ) ) { |
351 | 352 | return $cache[$code]; |
352 | 353 | } else { |
353 | | - return null; |
| 354 | + return array(); |
354 | 355 | } |
355 | 356 | } |
356 | 357 | |
Index: trunk/extensions/Translate/groups/MediaWikiExtensions.php |
— | — | @@ -209,7 +209,7 @@ |
210 | 210 | } |
211 | 211 | |
212 | 212 | public function load( $code ) { |
213 | | - return null; // no-op |
| 213 | + return array(); // no-op |
214 | 214 | } |
215 | 215 | |
216 | 216 | public function getMessage( $key, $code ) { |