1
0
mirror of synced 2025-03-05 20:36:15 +03:00

use the connections array for key()

This commit is contained in:
runa 2007-04-24 17:33:10 +00:00
parent 471a0a0005
commit 9460ff9e2c

View File

@ -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);
}