summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2007-10-02 12:05:44 +0000
committerxue <>2007-10-02 12:05:44 +0000
commitc07bcf6044e553deca6282cd9f4c5c85e119aa05 (patch)
treef7c58205a895f5500336167aaad668120ab6ba29
parent0e1d6dac808ebeede9ef9f0c3791f0d87dffab46 (diff)
fixed typo.
-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