Fix check emptyRow()

This commit is contained in:
Adrien Loison 2017-11-11 12:05:35 +01:00
parent 6fcb5ccb67
commit 805cfd7afc

View File

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