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
This commit is contained in:
parent
fc62320de8
commit
5cf4740204
|
@ -124,6 +124,7 @@ class PHPExcel_CachedObjectStorageFactory {
|
|||
|
||||
|
||||
public static function getInstance(PHPExcel_Worksheet $parent) {
|
||||
$cacheMethodIsAvailable = TRUE;
|
||||
if (is_null(self::$_cacheStorageMethod)) {
|
||||
$cacheMethodIsAvailable = self::initialize();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue