Fixed csv seperator in voiceplan import
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user