summaryrefslogtreecommitdiff
path: root/framework/Caching/TDbCache.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Caching/TDbCache.php')
-rw-r--r--framework/Caching/TDbCache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Caching/TDbCache.php b/framework/Caching/TDbCache.php
index 6c7b1a4e..c71d51ea 100644
--- a/framework/Caching/TDbCache.php
+++ b/framework/Caching/TDbCache.php
@@ -151,7 +151,7 @@ class TDbCache extends TCache
{
if($this->_connID!=='')
{
- $config=$this->getApplication()->getModule($connectionID);
+ $config=$this->getApplication()->getModule($this->_connID);
if($config instanceof TDataSourceConfig)
return $config->getDbConnection();
else