mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Add missing parameter to rawQuery()
Previously bound parameters were put in the incorrect position. Refs #6992
This commit is contained in:
parent
77ee00e8db
commit
65c1745349
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ class DboSource extends DataSource {
|
|||
*/
|
||||
public function rawQuery($sql, $params = array()) {
|
||||
$this->took = $this->numRows = false;
|
||||
return $this->execute($sql, $params);
|
||||
return $this->execute($sql, array(), $params);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue