Correct attachment of cells to cache collection as parent rather than worksheet

This commit is contained in:
Mark Baker
2013-02-21 11:44:33 +00:00
parent db75c5981a
commit d42361e8bf
11 changed files with 21 additions and 21 deletions
@@ -119,8 +119,8 @@ class PHPExcel_CachedObjectStorage_SQLite3 extends PHPExcel_CachedObjectStorage_
$this->_currentObjectID = $pCoord;
$this->_currentObject = unserialize($cellResult);
// Re-attach the parent worksheet
$this->_currentObject->attach($this->_parent);
// Re-attach this as the cell's parent
$this->_currentObject->attach($this);
// Return requested entry
return $this->_currentObject;