Commit f5acdfbf authored by doctrine's avatar doctrine

Minor collection serialization bug fixed

parent 2b01d706
......@@ -104,12 +104,12 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
$this->$name = $values;
}
$this->table = $session->getTable($this->table->getComponenName());
$this->table = $session->getTable($this->table);
$this->expanded = array();
$this->expandable = true;
$name = $table->getAttribute(Doctrine::ATTR_COLL_KEY);
$name = $this->table->getAttribute(Doctrine::ATTR_COLL_KEY);
if($name !== null) {
$this->generator = new Doctrine_IndexGenerator($name);
}
......
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