Skip to content

Commit

Permalink
MDL-49234 oracle: Remove variables passed by reference error
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyserver authored and andrewnicols committed Mar 3, 2015
1 parent fba097e commit d259d01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/dml/oci_native_moodle_database.php
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,8 @@ protected function bind_params($stmt, array $params=null, $tablename=null) {

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]);
}
}
}
Expand Down

0 comments on commit d259d01

Please sign in to comment.