Skip to content
Permalink
Browse files

Add missing parameter to rawQuery()

Previously bound parameters were put in the incorrect position.

Refs #6992
  • Loading branch information...
markstory committed Jul 10, 2015
1 parent 77ee00e commit 65c1745349bd9136522af41482f266aa12827a58
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Model/Datasource/DboSource.php
@@ -402,7 +402,7 @@ public function expression($expression) {
*/
public function rawQuery($sql, $params = array()) {
$this->took = $this->numRows = false;
return $this->execute($sql, $params);
return $this->execute($sql, array(), $params);
}
/**

0 comments on commit 65c1745

Please sign in to comment.
You can’t perform that action at this time.