diff options
author | wei <> | 2007-05-08 02:22:27 +0000 |
---|---|---|
committer | wei <> | 2007-05-08 02:22:27 +0000 |
commit | 7f4d9089574a35b733ee36bf4880bb9eb4beab84 (patch) | |
tree | 3d140949838994731d047ffd28c816659727ed5a /framework/Data | |
parent | 8cfeb336ca6696b454dc34820a9f0d06c3e36cad (diff) |
Fixed Sqlmap using TAPCCache problem. Adding test code for #488.
Diffstat (limited to 'framework/Data')
-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;
}
|