diff options
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | framework/Data/TDataSourceConfig.php | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -3,6 +3,7 @@ BUG: URL wildcard patterns didn't work with subfolders BUG: Issue#87 - TinyMCE : empty string disapears after encoding JS, that's a problem! (Christophe) BUG: Issue#96 - THttpResponse::redirect don't send status code (Christophe) BUG: Issue#107 - typo in TDbConnection::getCharset() (Christophe) +BUG: Issue#127 - TDataSourceConfig::findConnectionByID try to access private var (Cristophe) CHG: Issue#7 - Clients Scripts are not combined anymore in Debug application mode (Christophe) ENH: Issue#115 - Registry for Prado generated clientside counterparts of serverside controls (Yves Berkholz) ENH: Added caching of message files to TException (Michael) 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);
}
|