From b2a94f5dd8ce66adbc3a0f60d0ecff4e9709a6f9 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sat, 12 May 2007 07:28:42 +0000 Subject: typo --- framework/Caching/TCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Caching/TCache.php b/framework/Caching/TCache.php index 7c251629..3c070320 100644 --- a/framework/Caching/TCache.php +++ b/framework/Caching/TCache.php @@ -122,7 +122,7 @@ abstract class TCache extends TModule implements ICache if(($value=$this->getValue($this->generateUniqueKey($id)))!==false) { $data=unserialize($value); - if(!is_array($value)) + if(!is_array($data)) return false; if(!($data[1] instanceof ICacheDependency) || !$data[1]->getHasChanged()) return $data[0]; -- cgit v1.2.3