mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-09 17:42:21 +03:00
Fixed issue with PHP 7.4 compatibility.
This commit is contained in:
parent
6b83cc6083
commit
fc8bb6c03b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue