diff --git a/application/libraries/external/google-api-php-client/service/Google_Utils.php b/application/libraries/external/google-api-php-client/service/Google_Utils.php index be94902c..c74fe0df 100644 --- a/application/libraries/external/google-api-php-client/service/Google_Utils.php +++ b/application/libraries/external/google-api-php-client/service/Google_Utils.php @@ -55,7 +55,7 @@ class Google_Utils { $strlenVar = strlen($str); $d = $ret = 0; for ($count = 0; $count < $strlenVar; ++ $count) { - $ordinalValue = ord($str{$ret}); + $ordinalValue = ord($str[$ret]); switch (true) { case (($ordinalValue >= 0x20) && ($ordinalValue <= 0x7F)): // characters U-00000000 - U-0000007F (same as ASCII) @@ -114,4 +114,4 @@ class Google_Utils { } return $normalized; } -} \ No newline at end of file +}