X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=languages%2Fclasses%2FLanguageAz.php;h=bd42a12a1f29112a0946039f3bdcf1c617f2cbf7;hb=4549aabaec52cdb870fed9f8e735901199ac4832;hp=f9ebdec1e8362d1f97ccddf9c59e4216da4bd040;hpb=25d33bacb3496e9acb6ec0d7147b48a6a552c81d;p=lhc%2Fweb%2Fwiklou.git diff --git a/languages/classes/LanguageAz.php b/languages/classes/LanguageAz.php index f9ebdec1e8..bd42a12a1f 100644 --- a/languages/classes/LanguageAz.php +++ b/languages/classes/LanguageAz.php @@ -32,8 +32,8 @@ class LanguageAz extends Language { * @param string $string * @return mixed|string */ - function ucfirst( $string ) { - if ( $string[0] == 'i' ) { + public function ucfirst( $string ) { + if ( substr( $string, 0, 1 ) === 'i' ) { return 'Ä°' . substr( $string, 1 ); } return parent::ucfirst( $string );