diff --git a/lib/Doctrine/Record.php b/lib/Doctrine/Record.php index 556529e71..8f09768c6 100644 --- a/lib/Doctrine/Record.php +++ b/lib/Doctrine/Record.php @@ -187,9 +187,11 @@ abstract class Doctrine_Record extends Doctrine_Record_Abstract implements Count $this->_errorStack = new Doctrine_Validator_ErrorStack(); $repository = $this->_table->getRepository(); - $repository->add($this); + $repository->add($this); + + $this->construct(); } - $this->construct(); + } /** * _index