From 5cf474020401378aceffab45b83b0e836e8e7807 Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Fri, 9 Dec 2011 14:55:47 +0000 Subject: [PATCH] Fix to cache factory getInstance() if initialize() has been called explicitly by a user call git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83748 2327b42d-5241-43d6-9e2a-de5ac946f064 --- Classes/PHPExcel/CachedObjectStorageFactory.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Classes/PHPExcel/CachedObjectStorageFactory.php b/Classes/PHPExcel/CachedObjectStorageFactory.php index 4777628..12e60c5 100644 --- a/Classes/PHPExcel/CachedObjectStorageFactory.php +++ b/Classes/PHPExcel/CachedObjectStorageFactory.php @@ -124,6 +124,7 @@ class PHPExcel_CachedObjectStorageFactory { public static function getInstance(PHPExcel_Worksheet $parent) { + $cacheMethodIsAvailable = TRUE; if (is_null(self::$_cacheStorageMethod)) { $cacheMethodIsAvailable = self::initialize(); }