use the connections array for key()
This commit is contained in:
parent
471a0a0005
commit
9460ff9e2c
@ -352,7 +352,7 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera
|
|||||||
if ($key !== false) {
|
if ($key !== false) {
|
||||||
unset($this->connections[$key]);
|
unset($this->connections[$key]);
|
||||||
}
|
}
|
||||||
$this->currIndex = key($this->connections[$key]);
|
$this->currIndex = key($this->connections);
|
||||||
|
|
||||||
unset($connection);
|
unset($connection);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user