Fix isEmptyRow() check

This commit is contained in:
Adrien Loison committed 2017-11-11 12:35:03 +01:00
1 parent 5a470188a9
commit 0c8a53c821
1 file changed
+1 -1
+1 -1
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) === '');
}
/**