use the connections array for key()
This commit is contained in:
parent
471a0a0005
commit
9460ff9e2c
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera
|
|||
if ($key !== false) {
|
||||
unset($this->connections[$key]);
|
||||
}
|
||||
$this->currIndex = key($this->connections[$key]);
|
||||
$this->currIndex = key($this->connections);
|
||||
|
||||
unset($connection);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue