MDL-50307 auth_db: Fix associative fetching in ADODB 2.19

This commit is contained in:
John Okely 2015-07-27 13:51:01 +08:00
parent 57739a72cb
commit c8bde450a1
2 changed files with 5 additions and 2 deletions

View File

@ -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;
}
}

View File

@ -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