summaryrefslogtreecommitdiff
path: root/languages/classes/LanguageTr.php
diff options
context:
space:
mode:
Diffstat (limited to 'languages/classes/LanguageTr.php')
-rw-r--r--languages/classes/LanguageTr.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages/classes/LanguageTr.php b/languages/classes/LanguageTr.php
index 8a2dee09..57b0fd07 100644
--- a/languages/classes/LanguageTr.php
+++ b/languages/classes/LanguageTr.php
@@ -7,7 +7,7 @@
*/
class LanguageTr extends Language {
function ucfirst ( $string ) {
- if ( $string[0] == 'i' ) {
+ if ( !empty($string) && $string[0] == 'i' ) {
return 'İ' . substr( $string, 1 );
} else {
return parent::ucfirst( $string );