Skip to content

Commit 483aee9

Browse files
author
Athanasios Tsavlidis
committed
- add missing return statement to break out of next() function when the current row to be read is not the same as the one in the file
1 parent cc1800a commit 483aee9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Reader.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ public function next()
470470
if ($current_row_column_count > 0 && !$this->skip_empty_cells) {
471471
$this->current_row = array_fill(0, $current_row_column_count, '');
472472
}
473+
return $this->current_row;
473474
}
474475

475476
// Variables for empty cell handling.

0 commit comments

Comments
 (0)