Fix prefixed shared strings XML file (#450)

A prefixed sharedStrings.xml file was not properly read, as we were comparing the un-prefixed name with the possible prefixed name.
Also, this commit contains a fix for sheets with rows not starting at column A.
This commit is contained in:
Adrien Loison authored and GitHub committed 2017-07-25 14:16:22 +02:00
1 parent ee5dee61c7
commit 6d44cd26cc
6 files changed
+42 -3

No files matched your search

+1 -1
View File
@@ -348,7 +348,7 @@ class RowIterator implements IteratorInterface
*/
protected function isEmptyRow($rowData)
{
return (count($rowData) === 1 && $rowData[0] === '');
return (count($rowData) === 1 && key($rowData) === '');
}
/**