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:
jonathanblack1000
2023-05-03 14:10:36 -05:00
committed by GitHub
parent bc255fba73
commit 824f4257e0

View File

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