diff --git a/lib/Cake/Model/Datasource/Database/Oracle.php b/lib/Cake/Model/Datasource/Database/Oracle.php index d89bc95c2..df0a58e63 100644 --- a/lib/Cake/Model/Datasource/Database/Oracle.php +++ b/lib/Cake/Model/Datasource/Database/Oracle.php @@ -840,8 +840,8 @@ class DboOracle extends DboSource { * @param string $data String to be prepared for use in an SQL statement * @return string Quoted and escaped */ - public function value($data, $column = null, $safe = false) { - $parent = parent::value($data, $column, $safe); + public function value($data, $column = null) { + $parent = parent::value($data, $column); if ($parent != null) { return $parent; diff --git a/lib/Cake/Model/Datasource/DboSource.php b/lib/Cake/Model/Datasource/DboSource.php index 933c5f2a0..83946ac4a 100644 --- a/lib/Cake/Model/Datasource/DboSource.php +++ b/lib/Cake/Model/Datasource/DboSource.php @@ -986,7 +986,7 @@ class DboSource extends DataSource { $count = count($fields); for ($i = 0; $i < $count; $i++) { - $valueInsert[] = $this->value($values[$i], $model->getColumnType($fields[$i]), false); + $valueInsert[] = $this->value($values[$i], $model->getColumnType($fields[$i])); } for ($i = 0; $i < $count; $i++) { $fieldInsert[] = $this->name($fields[$i]);