diff --git a/lib/Doctrine/Manager.php b/lib/Doctrine/Manager.php index 79fd27c1b..98deff469 100644 --- a/lib/Doctrine/Manager.php +++ b/lib/Doctrine/Manager.php @@ -197,7 +197,7 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera if ($name !== null) { $name = (string) $name; if (isset($this->connections[$name])) { - throw new Doctrine_Manager_Exception("Connection with $name already exists!"); + return $this->connections[$name]; } } else { $name = $this->index;