diff options
Diffstat (limited to 'framework/Data/SqlMap')
-rw-r--r-- | framework/Data/SqlMap/TSqlMapConfig.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/SqlMap/TSqlMapConfig.php b/framework/Data/SqlMap/TSqlMapConfig.php index 95c16336..ea5f5c38 100644 --- a/framework/Data/SqlMap/TSqlMapConfig.php +++ b/framework/Data/SqlMap/TSqlMapConfig.php @@ -61,7 +61,7 @@ class TSqlMapConfig extends TDataSourceConfig {
$cache = $this->getApplication()->getCache();
if(!is_null($cache))
- return $cache->add($this->getCacheKey(), $manager);
+ return $cache->set($this->getCacheKey(), $manager);
}
return false;
}
|