From 7f4d9089574a35b733ee36bf4880bb9eb4beab84 Mon Sep 17 00:00:00 2001 From: wei <> Date: Tue, 8 May 2007 02:22:27 +0000 Subject: Fixed Sqlmap using TAPCCache problem. Adding test code for #488. --- framework/Data/SqlMap/TSqlMapConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Data/SqlMap') 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; } -- cgit v1.2.3