mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 14:02:32 +02:00
MDL-67034 google: php74 fix (curly braces) for the Google-Client lib
This commit is contained in:
parent
15c8da60d4
commit
b69028e626
@ -36,6 +36,9 @@ Here are the files that we have added.
|
||||
|
||||
This should not ever be used directly. The wrapper above uses it automatically.
|
||||
|
||||
Local changes (to reapply until upstream upgrades contain them):
|
||||
* MDL-67034 php74 compliance fixes
|
||||
|
||||
|
||||
Information
|
||||
-----------
|
||||
|
@ -62,7 +62,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…
x
Reference in New Issue
Block a user