Commit 852f2150 authored by zYne's avatar zYne

fixes #463

parent 7391081d
......@@ -158,7 +158,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
$this->_table = $connection->getTable($this->_table);
if ($keyColumn === null) {
$keyColumn = $table->getBoundQueryPart('indexBy');
$keyColumn = $this->_table->getBoundQueryPart('indexBy');
}
if ($keyColumn !== null) {
......
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