MDL-49234 oracle: Remove variables passed by reference error

This commit is contained in:
pau.ferrer-ocana
2015-03-03 15:14:38 +08:00
committed by Andrew Nicols
parent fba097e3ce
commit d259d014bb
+2 -1
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]);
}
}
}