From 95521cde8747560f447e808e97fd9443ce86434d Mon Sep 17 00:00:00 2001 From: Susann Sgorzaly Date: Fri, 23 Feb 2018 10:17:09 +0100 Subject: [PATCH] reset file property if input is string --- src/Csv.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Csv.php b/src/Csv.php index e2160b6..129fe77 100644 --- a/src/Csv.php +++ b/src/Csv.php @@ -411,6 +411,7 @@ class Csv { $this->data = $this->parse_file($input); } else { + $this->file = null; $this->file_data = &$input; $this->data = $this->parse_string(); }