summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorwei <>2007-05-12 07:28:42 +0000
committerwei <>2007-05-12 07:28:42 +0000
commitb2a94f5dd8ce66adbc3a0f60d0ecff4e9709a6f9 (patch)
tree834f7ce3dd32079e6cf3e4be660992b4c34ce608 /framework
parent03e68fbb15552cbdd658b62ebdef9eebbe7e03d5 (diff)
typo
Diffstat (limited to 'framework')
-rw-r--r--framework/Caching/TCache.php2
1 files changed, 1 insertions, 1 deletions
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];