1
0
mirror of synced 2024-12-13 06:46:03 +03:00
This commit is contained in:
romanb 2007-12-11 15:55:45 +00:00
parent 6a958bae47
commit 9281630ed7

View File

@ -287,6 +287,9 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera
if ($name !== null) {
$name = (string) $name;
if (isset($this->_connections[$name])) {
if ($setCurrent) {
$this->_currIndex = $name;
}
return $this->_connections[$name];
}
} else {