Index: trunk/phase3/languages/classes/LanguageTr.php |
— | — | @@ -7,7 +7,7 @@ |
8 | 8 | */ |
9 | 9 | class LanguageTr extends Language { |
10 | 10 | function ucfirst ( $string ) { |
11 | | - if ( $string[0] == 'i' ) { |
| 11 | + if ( !empty($string) && $string[0] == 'i' ) { |
12 | 12 | return 'İ' . substr( $string, 1 ); |
13 | 13 | } else { |
14 | 14 | return parent::ucfirst( $string ); |