mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-50307 auth_db: Fix associative fetching in ADODB 2.19
This commit is contained in:
parent
57739a72cb
commit
c8bde450a1
@ -3502,8 +3502,7 @@ http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/statements_1
|
||||
$key = $o->name;
|
||||
break;
|
||||
}
|
||||
$val = $this->fetchMode == ADODB_FETCH_ASSOC ? $o->name : $i;
|
||||
$this->bind[$key] = $val;
|
||||
$this->bind[$key] = $i;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -22,5 +22,9 @@ Added:
|
||||
|
||||
Our changes:
|
||||
* Removed random seed initialization from lib/adodb/adodb.inc.php:177 (see 038f546 and MDL-41198).
|
||||
* Added commit to fix associative fetch mode https://github.com/ADOdb/ADOdb/commit/97c3afacb3e4f98195908101bf3621e5cc847635
|
||||
When upgrading ADODB to 5.20 or higher, check
|
||||
whether that commit was included and if not
|
||||
remove this item
|
||||
|
||||
skodak, iarenaza, moodler, stronk7
|
||||
|
Loading…
x
Reference in New Issue
Block a user