diff --git a/src/Csv.php b/src/Csv.php index 74381e4..a4062f6 100644 --- a/src/Csv.php +++ b/src/Csv.php @@ -987,7 +987,8 @@ class Csv { return $this->sort_by !== null || $this->offset === null || - $current_row >= $this->offset; + $current_row >= $this->offset || + ($this->heading && $current_row == 0); } /**