Bugfix: Work item GH-67 - Cache directory for DiscISAM cache storage cannot be set

This commit is contained in:
Mark Baker
2012-11-20 22:25:12 +00:00
parent 4f070fc349
commit 8a967b2996
2 changed files with 2 additions and 1 deletions
@@ -198,7 +198,7 @@ class PHPExcel_CachedObjectStorageFactory
self::$_storageMethodParameters[$method] = self::$_storageMethodDefaultParameters[$method];
foreach($arguments as $k => $v) {
if (isset(self::$_storageMethodParameters[$method][$k])) {
if (array_key_exists($k, self::$_storageMethodParameters[$method])) {
self::$_storageMethodParameters[$method][$k] = $v;
}
}