From f84aad3ab1c8f4a4ff2b9b3c2bf99961fe6bb5ac Mon Sep 17 00:00:00 2001 From: Taiwen Jiang Date: Thu, 30 May 2013 15:32:04 +0900 Subject: [PATCH] Changed cache content var type to array --- lib/Pi/Application/Service/Render.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Pi/Application/Service/Render.php b/lib/Pi/Application/Service/Render.php index ac1dc4825a..dc0f713888 100644 --- a/lib/Pi/Application/Service/Render.php +++ b/lib/Pi/Application/Service/Render.php @@ -70,10 +70,10 @@ class Render extends AbstractService ); /** - * Cached content - * @var string + * Cached contents + * @var array */ - protected $cachedContent = null; + protected $cachedContent = array(); /** * Generated content @@ -304,4 +304,4 @@ public function flushCache($namespace = null, $key = null) Pi::service('cache')->clearByNamespace($module, $this->getStorage()); } } -} \ No newline at end of file +}