removeColumn doesn't remove all cells
removeColumn doesn't remove all cells, because CacheBase::deleteCacheData only unsets cell data if they are objects. But cached cell data could be arrays. I moved the unset from inside the if block (line 150 ff) to after the if block.
This commit is contained in:
parent
3b4f54722f
commit
c1f5bdba5d
|
@ -147,8 +147,8 @@ abstract class CacheBase
|
|||
|
||||
if (is_object($this->cellCache[$pCoord])) {
|
||||
$this->cellCache[$pCoord]->detach();
|
||||
unset($this->cellCache[$pCoord]);
|
||||
}
|
||||
unset($this->cellCache[$pCoord]);
|
||||
$this->currentCellIsDirty = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue