We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73b8619 commit fcd5098Copy full SHA for fcd5098
src/Iterator/InitFamilyFileIterator.php
@@ -73,6 +73,9 @@ protected function getChannelData()
73
}
74
75
if ($index >= (int) $this->options['attribute_data_row']) {
76
+ if (count($row) === 0) {
77
+ continue;
78
+ }
79
$code = $row[$codeColumn];
80
if ($code === '') {
81
continue;
src/Iterator/InitFileIterator.php
@@ -50,6 +50,9 @@ public function current()
50
51
52
$data = $this->trimRight($data);
53
+ if (count($data) ===0) {
54
+ return null;
55
56
57
return $data;
58
0 commit comments