Index: trunk/extensions/Translate/utils/TranslationHelpers.php |
— | — | @@ -224,6 +224,7 @@ |
225 | 225 | $unsupported = $wgMemc->get( $memckey ); |
226 | 226 | |
227 | 227 | if ( isset( $unsupported[$code] ) ) return null; |
| 228 | + if ( trim( strval( $definition ) ) === '' ) return null; |
228 | 229 | |
229 | 230 | $path = 'http://ajax.googleapis.com/ajax/services/language/translate?'; |
230 | 231 | $query = array( |