Skip to content

Commit

Permalink
Fixing copy paste fail
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Oct 14, 2012
1 parent 76e411f commit a2f3744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Model/Datasource/Database/Connection.php
Expand Up @@ -169,7 +169,7 @@ public function insert($table, array $data, array $types = array()) {
public function update($table, array $data, array $conditions = array(), $types = array()) {
$this->connect();
$keys = array_keys($data);
$conditionsKeys = array_keys($data);
$conditionsKeys = array_keys($conditions);
$sql = 'UPDATE %s SET %s %s';
list($conditions, $params) = $this->_parseConditions($conditions);
$sql = sprintf(
Expand Down

0 comments on commit a2f3744

Please sign in to comment.