1
0
mirror of synced 2025-01-07 09:37:11 +03:00

fix for php 5.2 compatibility

This commit is contained in:
romanb 2006-11-28 18:20:38 +00:00
parent 94277fcf54
commit b68d060ef5

View File

@ -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);