Fix isEmptyRow() check
This commit is contained in:
parent
5a470188a9
commit
563139ea5f
@ -340,7 +340,7 @@ class RowIterator implements IteratorInterface
|
||||
*/
|
||||
protected function isEmptyRow($rowData)
|
||||
{
|
||||
return (count($rowData) === 1 && key($rowData) === '');
|
||||
return (count($rowData) === 1 && reset($rowData) === '');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user