summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristophe.boulain <>2011-01-26 13:06:12 +0000
committerchristophe.boulain <>2011-01-26 13:06:12 +0000
commit5a91b2a3328c8c15ce9dbed9a599ab87f9e8f112 (patch)
treecceb899ddef1a2f22dbe068785f39aa3981fbc65
parent95b032891d6617525636cc7b680117dbb14afba7 (diff)
Fixed #229 in 3.1 branch
-rw-r--r--framework/Web/UI/TCachePageStatePersister.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/TCachePageStatePersister.php b/framework/Web/UI/TCachePageStatePersister.php
index 742bd687..a9637e87 100644
--- a/framework/Web/UI/TCachePageStatePersister.php
+++ b/framework/Web/UI/TCachePageStatePersister.php
@@ -111,7 +111,7 @@ class TCachePageStatePersister extends TComponent implements IPageStatePersister
$cache=Prado::getApplication()->getCache();
if($cache===null || !($cache instanceof ICache))
{
- if($this->_cacheModule!=='')
+ if($this->_cacheModuleID!=='')
throw new TConfigurationException('cachepagestatepersister_cachemoduleid_invalid',$this->_cacheModuleID);
else
throw new TConfigurationException('cachepagestatepersister_cache_required');