MDL-67034 adodb: php74 fix (curly braces) for the AdoDB lib

This commit is contained in:
Eloy Lafuente (stronk7) 2019-10-27 00:18:05 +02:00
parent 6b83451251
commit 15c8da60d4
2 changed files with 2 additions and 1 deletions

View File

@ -120,7 +120,7 @@ class ADODB_oci8po extends ADODB_oci8 {
/*
* find the next character of the string
*/
$c = $sql{$i};
$c = $sql[$i];
if ($c == "'" && !$inString && $escaped==0)
/*

View File

@ -30,5 +30,6 @@ Our changes:
* Removed random seed initialization from lib/adodb/adodb.inc.php:216 (see 038f546 and MDL-41198).
* MDL-52286 Added muting erros in ADORecordSet::__destruct().
Check if fixed upstream during the next upgrade and remove this note. (8638b3f1441d4b928)
* MDL-67034 Fixes to make the library php74 compliant.
skodak, iarenaza, moodler, stronk7, abgreeve, lameze, ankitagarwal, marinaglancy