Commit b68d060e authored by romanb's avatar romanb

fix for php 5.2 compatibility

parent 94277fcf
......@@ -59,7 +59,7 @@ class Doctrine_Db_Statement extends PDOStatement {
$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);
$this->dbh->getListener()->onPreExecute($event);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment