1
0
mirror of synced 2025-01-06 00:57:10 +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;
}
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);