We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 741e2f7 commit 4db1071Copy full SHA for 4db1071
src/ShapeRecord.php
@@ -708,6 +708,9 @@ private function _loadDBFData() {
708
}
709
710
private function _saveDBFData() {
711
+ if (count($this->DBFData) == 0) {
712
+ return;
713
+ }
714
unset($this->DBFData['deleted']);
715
if ($this->recordNumber <= dbase_numrecords($this->DBFFile)) {
716
if (!dbase_replace_record($this->DBFFile, array_values($this->DBFData), $this->recordNumber)) {
0 commit comments