From c6ff9e293b7fdce27138ebb1735714732415f2ee Mon Sep 17 00:00:00 2001
From: Lorenz Schori <lo@znerol.ch>
Date: Sat, 19 Jan 2013 21:18:28 +0100
Subject: [PATCH] Initialize _authcache_info within authcache_init

---
 authcache.module |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/authcache.module b/authcache.module
index f04c423..4028dcc 100644
--- a/authcache.module
+++ b/authcache.module
@@ -12,7 +12,7 @@
 
 // Global variables
 $_authcache_is_cacheable = FALSE;
-$_authcache_info = array();  // Store information about page caching
+$_authcache_info;  // Store information about page caching
 
 // Default caching rules (Never cache these pages)
 define('AUTHCACHE_NOCACHE_DEFAULT', '
@@ -145,6 +145,7 @@ function authcache_init() {
   //moved to hook_exit (as per boost module) as an experiment
   //register_shutdown_function('_authcache_shutdown_save_page');
   
+  $_authcache_info = array();
   $_authcache_is_cacheable = _authcache_is_cacheable();
 
   if ($_authcache_is_cacheable) {
-- 
1.7.10.4

