diff options
Diffstat (limited to 'framework/Data')
-rw-r--r-- | framework/Data/TDataSourceConfig.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/TDataSourceConfig.php b/framework/Data/TDataSourceConfig.php index a7b8dec2..9a81ff8c 100644 --- a/framework/Data/TDataSourceConfig.php +++ b/framework/Data/TDataSourceConfig.php @@ -148,7 +148,7 @@ class TDataSourceConfig extends TModule if($conn instanceof TDbConnection)
return $conn;
else if($conn instanceof TDataSourceConfig)
- return $conn->_conn;
+ return $conn->getDbConnection();
else
throw new TConfigurationException('datasource_dbconnection_invalid',$id);
}
|