forked from mirrors/easyappointments
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)
|
||||
|
|
Loading…
Reference in a new issue