Added important call to setFileName()
authorRoland Haeder <roland@mxchange.org>
Sun, 7 Dec 2014 22:18:47 +0000 (23:18 +0100)
committerRoland Haeder <roland@mxchange.org>
Sun, 7 Dec 2014 22:18:47 +0000 (23:18 +0100)
Signed-off-by: Roland H├Ąder <roland@mxchange.org>
inc/classes/main/file_directories/text/csv/class_CsvFile.php

index ade71d4..dbe99aa 100644 (file)
@@ -42,6 +42,9 @@ class CsvFile extends BaseTextFile implements CsvInputStreamer {
                // Get a new instance
                $fileInstance = new CsvFile();
 
+               // Set file name
+               $fileInstance->setFileName($fileName);
+
                // Init this abstract file
                $fileInstance->initFile($fileName);