Commit c5291aed authored by zYne's avatar zYne

--no commit message

--no commit message
parent 042a4e41
...@@ -366,8 +366,9 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun ...@@ -366,8 +366,9 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun
*/ */
public function __get($name) public function __get($name)
{ {
if (isset($this->properties[$name])) if (isset($this->properties[$name])) {
return $this->properties[$name]; return $this->properties[$name];
}
if ( ! isset($this->modules[$name])) { if ( ! isset($this->modules[$name])) {
throw new Doctrine_Connection_Exception('Unknown module / property ' . $name); throw new Doctrine_Connection_Exception('Unknown module / property ' . $name);
......
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