diff options
author | wei <> | 2007-05-12 07:28:42 +0000 |
---|---|---|
committer | wei <> | 2007-05-12 07:28:42 +0000 |
commit | b2a94f5dd8ce66adbc3a0f60d0ecff4e9709a6f9 (patch) | |
tree | 834f7ce3dd32079e6cf3e4be660992b4c34ce608 /framework/Caching | |
parent | 03e68fbb15552cbdd658b62ebdef9eebbe7e03d5 (diff) |
typo
Diffstat (limited to 'framework/Caching')
-rw-r--r-- | framework/Caching/TCache.php | 2 |
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];
|