From a6c52628617ae9c4b4208d6cc396f4fe2557c4e2 Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Thu, 11 Jan 2024 20:46:27 +0100 Subject: [PATCH] Fixed csv seperator in voiceplan import --- application/Voiceplan/Voiceplan.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/application/Voiceplan/Voiceplan.php b/application/Voiceplan/Voiceplan.php index 3850fbfd2..7b8cd0f27 100644 --- a/application/Voiceplan/Voiceplan.php +++ b/application/Voiceplan/Voiceplan.php @@ -19,8 +19,7 @@ class Voiceplan extends mfBaseModel { $i = 0; $filename = $file->getFullPath(); $input = fopen($filename, "r"); - //while($csv = fgetcsv($input, 0, ";")) { - while($csv = fgetcsv($input, 0, ",")) { + while($csv = fgetcsv($input, 0, ";")) { $i++; if($i == 1) continue; @@ -98,8 +97,7 @@ class Voiceplan extends mfBaseModel { $i = 0; $filename = $file->getFullPath(); $input = fopen($filename, "r"); - //while($csv = fgetcsv($input, 0, ";")) { - while($csv = fgetcsv($input, 0, ",")) { + while($csv = fgetcsv($input, 0, ";")) { $i++; if($i == 1) continue;