fixes #463
This commit is contained in:
parent
7391081d81
commit
852f2150bf
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user