Commit 70c94fae authored by kselli's avatar kselli

Patched the bug #423 which didn't allow user to set attributes in the construct() method.

Ticket: 423
parent ce90ee57
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment