Merge branch 'fronkdev' into 'master'

Fixed csv seperator in voiceplan import

See merge request fronk/thetool!171
This commit is contained in:
Frank Schubert
2024-01-11 19:46:56 +00:00

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;