mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-28 16:08:11 +00:00
Add move cell method for SQLite.
TODO - modify SQLite3 to use parameterised statements consistently throughout
This commit is contained in:
@@ -117,13 +117,14 @@ abstract class PHPExcel_CachedObjectStorage_CacheBase {
|
||||
if ($fromAddress === $this->_currentObjectID) {
|
||||
$this->_currentObjectID = $toAddress;
|
||||
}
|
||||
$this->_currentCellIsDirty = true;
|
||||
if (isset($this->_cellCache[$fromAddress])) {
|
||||
$this->_cellCache[$toAddress] = &$this->_cellCache[$fromAddress];
|
||||
unset($this->_cellCache[$fromAddress]);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
} // function isDataSet()
|
||||
} // function moveCell()
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user