From 5a91b2a3328c8c15ce9dbed9a599ab87f9e8f112 Mon Sep 17 00:00:00 2001
From: "christophe.boulain" <>
Date: Wed, 26 Jan 2011 13:06:12 +0000
Subject: Fixed #229 in 3.1 branch

---
 framework/Web/UI/TCachePageStatePersister.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'framework')

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');
-- 
cgit v1.2.3