Update destination_imports.php

This commit is contained in:
FusionPBX 2020-04-09 14:15:32 -06:00 committed by GitHub
parent 7fdb9e81fd
commit 23200b1981
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@
if (strlen($destination_context) == 0) { $destination_context = 'public'; }
if ($destination_type =="outbound" && $destination_context == "public") { $destination_context = $_SESSION['domain_name']; }
if ($destination_type =="outbound" && strlen($destination_context) == 0) { $destination_context = $_SESSION['domain_name']; }
if (strlen($from_row) == 0) { $from_row = '2'; }
//save the data to the csv file
if (isset($_POST['data'])) {