mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-21 15:49:26 +00:00
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:
@@ -124,6 +124,7 @@ class PHPExcel_CachedObjectStorageFactory {
|
||||
|
||||
|
||||
public static function getInstance(PHPExcel_Worksheet $parent) {
|
||||
$cacheMethodIsAvailable = TRUE;
|
||||
if (is_null(self::$_cacheStorageMethod)) {
|
||||
$cacheMethodIsAvailable = self::initialize();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user