Fix isEmptyRow() check

This commit is contained in:
Adrien Loison 2017-11-11 12:27:21 +01:00
parent 5a470188a9
commit 563139ea5f

View File

@ -340,7 +340,7 @@ class RowIterator implements IteratorInterface
*/ */
protected function isEmptyRow($rowData) protected function isEmptyRow($rowData)
{ {
return (count($rowData) === 1 && key($rowData) === ''); return (count($rowData) === 1 && reset($rowData) === '');
} }
/** /**