mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
fixes #42. If csv has heading and offset is set, first row will always be parsed
This commit is contained in:
@@ -987,7 +987,8 @@ class Csv {
|
|||||||
return
|
return
|
||||||
$this->sort_by !== null ||
|
$this->sort_by !== null ||
|
||||||
$this->offset === null ||
|
$this->offset === null ||
|
||||||
$current_row >= $this->offset;
|
$current_row >= $this->offset ||
|
||||||
|
($this->heading && $current_row == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user