From 824f4257e0bc2845ff5768b8883bf05e28a4d602 Mon Sep 17 00:00:00 2001 From: jonathanblack1000 <42976845+jonathanblack1000@users.noreply.github.com> Date: Wed, 3 May 2023 14:10:36 -0500 Subject: [PATCH] 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. --- app/call_broadcast/call_broadcast_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/call_broadcast/call_broadcast_edit.php b/app/call_broadcast/call_broadcast_edit.php index 3808974f70..937d528830 100644 --- a/app/call_broadcast/call_broadcast_edit.php +++ b/app/call_broadcast/call_broadcast_edit.php @@ -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);