Fix Call Broadcast file upload (#6661)
Fixed file import. Previously would import with \n separator instead of \r\n (in PHP 7.1), which breaks dialing.
This commit is contained in:
parent
bc255fba73
commit
824f4257e0
|
|
@ -72,7 +72,7 @@
|
|||
$separator = $getData[0];
|
||||
$separator .= (isset($getData[1]) && $getData[1] != '')? '|'.$getData[1] : '';
|
||||
$separator .= (isset($getData[2]) && $getData[2] != '')? ','.$getData[2] : '';
|
||||
$separator .= '\n';
|
||||
$separator .= PHP_EOL;
|
||||
$upload_csv .= $separator;
|
||||
}
|
||||
fclose($file);
|
||||
|
|
|
|||
Loading…
Reference in New Issue