Patched the bug #423 which didn't allow user to set attributes in the construct() method.
Ticket: 423
This commit is contained in:
parent
ce90ee576a
commit
70c94fae67
@ -187,9 +187,11 @@ abstract class Doctrine_Record extends Doctrine_Record_Abstract implements Count
|
|||||||
$this->_errorStack = new Doctrine_Validator_ErrorStack();
|
$this->_errorStack = new Doctrine_Validator_ErrorStack();
|
||||||
|
|
||||||
$repository = $this->_table->getRepository();
|
$repository = $this->_table->getRepository();
|
||||||
$repository->add($this);
|
$repository->add($this);
|
||||||
|
|
||||||
|
$this->construct();
|
||||||
}
|
}
|
||||||
$this->construct();
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* _index
|
* _index
|
||||||
|
Loading…
x
Reference in New Issue
Block a user