Commit 9460ff9e authored by runa's avatar runa

use the connections array for key()

parent 471a0a00
......@@ -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);
}
......
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