MDL-49234 oracle: Remove variables passed by reference error
This commit is contained in:
committed by
Andrew Nicols
parent
fba097e3ce
commit
d259d014bb
@@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user