reset file property if input is string

This commit is contained in:
Susann Sgorzaly
2018-02-23 10:17:09 +01:00
parent 249e5a24ac
commit 95521cde87

View File

@@ -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();
}