1
0
mirror of synced 2024-12-13 14:56:01 +03:00

* Correction to Record Event Chain stuff

* Updating AuditLog to new way of doing array hydration
This commit is contained in:
pookey 2007-07-11 15:32:13 +00:00
parent d434174a96
commit 931bc8de23
2 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@ class Doctrine_AuditLog
return $q->from($className)
->where($where)
->execute($values, Doctrine::FETCH_ARRAY);
->execute($values, Doctrine_HYDRATE::HYDRATE_ARRAY);
}
public function createVersionTable()
{

View File

@ -192,7 +192,7 @@ abstract class Doctrine_Configurable extends Doctrine_Object
public function addRecordListener($listener, $name = null)
{
if ( ! isset($this->attributes[Doctrine::ATTR_RECORD_LISTENER]) ||
! ($this->attributes[Doctrine::ATTR_LISTENER] instanceof Doctrine_Record_Listener_Chain)) {
! ($this->attributes[Doctrine::ATTR_RECORD_LISTENER] instanceof Doctrine_Record_Listener_Chain)) {
$this->attributes[Doctrine::ATTR_RECORD_LISTENER] = new Doctrine_Record_Listener_Chain();
}