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);
|
$this->_table = $connection->getTable($this->_table);
|
||||||
|
|
||||||
if ($keyColumn === null) {
|
if ($keyColumn === null) {
|
||||||
$keyColumn = $table->getBoundQueryPart('indexBy');
|
$keyColumn = $this->_table->getBoundQueryPart('indexBy');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($keyColumn !== null) {
|
if ($keyColumn !== null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user