From c215d442a048a993e96d7e6c86db47ec0393729e Mon Sep 17 00:00:00 2001 From: rlukasz Date: Mon, 4 Jul 2016 01:05:20 +0200 Subject: [PATCH] Update RowIterator.php --- src/Spout/Reader/CSV/RowIterator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Spout/Reader/CSV/RowIterator.php b/src/Spout/Reader/CSV/RowIterator.php index 5189dfc..39b38a8 100644 --- a/src/Spout/Reader/CSV/RowIterator.php +++ b/src/Spout/Reader/CSV/RowIterator.php @@ -153,7 +153,7 @@ class RowIterator implements IteratorInterface */ protected function getNextUTF8EncodedRow() { - $encodedRowData = fgetcsv($this->filePointer, self::MAX_READ_BYTES_PER_LINE, $this->fieldDelimiter, $this->fieldEnclosure); + $encodedRowData = $this->globalFunctionsHelper->fgetcsv($this->filePointer, self::MAX_READ_BYTES_PER_LINE, $this->fieldDelimiter, $this->fieldEnclosure); if (false === $encodedRowData) { return false; }