Merge branch 'MDL-49234_master' of git://github.com/crazyserver/moodle

This commit is contained in:
Andrew Nicols 2015-03-03 15:12:29 +08:00
commit 962d7359a3

View File

@ -978,7 +978,8 @@ class oci_native_moodle_database extends moodle_database {
default: // Bind as CHAR (applying dirty hack)
// TODO: Optimise
oci_bind_by_name($stmt, $key, $this->oracle_dirty_hack($tablename, $columnname, $params[$key]));
$params[$key] = $this->oracle_dirty_hack($tablename, $columnname, $params[$key]);
oci_bind_by_name($stmt, $key, $params[$key]);
}
}
}