diff --git a/lib/Doctrine/Connection.php b/lib/Doctrine/Connection.php index 9f3246de9..3d4eb2f76 100644 --- a/lib/Doctrine/Connection.php +++ b/lib/Doctrine/Connection.php @@ -366,8 +366,9 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun */ public function __get($name) { - if (isset($this->properties[$name])) + if (isset($this->properties[$name])) { return $this->properties[$name]; + } if ( ! isset($this->modules[$name])) { throw new Doctrine_Connection_Exception('Unknown module / property ' . $name);