Fixed csv seperator in voiceplan import

This commit is contained in:
Frank Schubert
2024-01-11 20:46:27 +01:00
parent c16df5077a
commit a6c5262861

View File

@@ -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;