]> git.mxchange.org Git - core.git/commitdiff
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 ade71d4d63b946b3be037e99b2bcb8b3b32956c6..dbe99aa050a8ed785e4e7e57032265f821186b20 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);