From: Roland Haeder Date: Sun, 7 Dec 2014 22:18:47 +0000 (+0100) Subject: Added important call to setFileName() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8be86e185bdead59362cc0775cef8f5b24d0294a;p=core.git Added important call to setFileName() Signed-off-by: Roland Häder --- diff --git a/inc/classes/main/file_directories/text/csv/class_CsvFile.php b/inc/classes/main/file_directories/text/csv/class_CsvFile.php index ade71d4d..dbe99aa0 100644 --- a/inc/classes/main/file_directories/text/csv/class_CsvFile.php +++ b/inc/classes/main/file_directories/text/csv/class_CsvFile.php @@ -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);