Index: trunk/phase3/languages/Language.php |
— | — | @@ -2073,6 +2073,7 @@ |
2074 | 2074 | * These details may be overriden per language. |
2075 | 2075 | */ |
2076 | 2076 | function gender( $gender, $forms ) { |
| 2077 | + if ( !count($forms) ) { return ''; } |
2077 | 2078 | $forms = $this->preConvertPlural( $forms, 2 ); |
2078 | 2079 | if ( $gender === 'male' ) return $forms[0]; |
2079 | 2080 | if ( $gender === 'female' ) return $forms[1]; |