fix for php 5.2 compatibility
This commit is contained in:
parent
94277fcf54
commit
b68d060ef5
@ -59,7 +59,7 @@ class Doctrine_Db_Statement extends PDOStatement {
|
|||||||
$this->executed = (bool) $executed;
|
$this->executed = (bool) $executed;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function execute(array $params = array()) {
|
public function execute(array $params = null) {
|
||||||
$event = new Doctrine_Db_Event($this, Doctrine_Db_Event::EXECUTE, $this->queryString);
|
$event = new Doctrine_Db_Event($this, Doctrine_Db_Event::EXECUTE, $this->queryString);
|
||||||
|
|
||||||
$this->dbh->getListener()->onPreExecute($event);
|
$this->dbh->getListener()->onPreExecute($event);
|
||||||
|
Loading…
Reference in New Issue
Block a user