Merge "Perform a permission check on the title when changing the page language"
[lhc/web/wiklou.git] / languages / classes / LanguageAz.php
index f9ebdec..bd42a12 100644 (file)
@@ -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 );