summaryrefslogtreecommitdiff
path: root/framework/Caching
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Caching')
-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 5d0b11a6..e528e5ab 100644
--- a/framework/Caching/TCache.php
+++ b/framework/Caching/TCache.php
@@ -592,7 +592,7 @@ class TGlobalStateCacheDependency extends TCacheDependency
*/
public function getHasChanged()
{
- return $this->_stateValue!==Prado::getApplication()->getGlobalState($value);
+ return $this->_stateValue!==Prado::getApplication()->getGlobalState($this->_stateName);
}
}