1
0
mirror of synced 2025-01-18 22:41:43 +03:00
This commit is contained in:
zYne 2007-06-15 11:56:55 +00:00
parent 042a4e411f
commit c5291aedd7

View File

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