From 137dd105f8a853fed09bb4d64f0813da76f160e7 Mon Sep 17 00:00:00 2001 From: mattf Date: Thu, 26 Sep 2019 13:32:30 +0000 Subject: [PATCH] Fixes for PHP7 in calls/leads export reports git-svn-id: svn://192.168.202.10@3135 3d104415-ff17-0410-8863-d5cf3c621b8a --- www/vicidial/call_report_export.php | 10 ++++++++++ www/vicidial/call_report_export_carrier.php | 12 ++++++++++++ www/vicidial/lead_report_export.php | 10 ++++++++++ 3 files changed, 32 insertions(+) diff --git a/www/vicidial/call_report_export.php b/www/vicidial/call_report_export.php index 34dfdcbb..1f06b0a6 100644 --- a/www/vicidial/call_report_export.php +++ b/www/vicidial/call_report_export.php @@ -56,6 +56,7 @@ # 180418-1555 - Fix for missing call notes on inbound calls # 190116-2116 - Added ---ALL--- options for Campaigns and In-Groups # 190610-2035 - Fixed admin hide phone issue +# 190926-0925 - Fixes for PHP7 # $startMS = microtime(); @@ -551,6 +552,15 @@ if ($run_export > 0) $outbound_calls=0; $export_rows=''; + $export_status = array(); + $export_list_id = array(); + $export_lead_id = array(); + $export_uniqueid = array(); + $export_vicidial_id = array(); + $export_entry_list_id = array(); + $export_wrapup_time = array(); + $export_queue_time = array(); + $export_rows = array(); $k=0; if ($RUNcampaign > 0) { diff --git a/www/vicidial/call_report_export_carrier.php b/www/vicidial/call_report_export_carrier.php index 9ed67e4d..ef2d60fd 100644 --- a/www/vicidial/call_report_export_carrier.php +++ b/www/vicidial/call_report_export_carrier.php @@ -19,6 +19,7 @@ # 160510-2100 - Added coding to remove tab characters from the data # 170409-1542 - Added IP List validation code # 190610-2037 - Fixed admin hide phone issue +# 190926-0927 - Fixes for PHP7 # $startMS = microtime(); @@ -456,6 +457,17 @@ if ($run_export > 0) $outbound_calls=0; $export_rows=''; + $export_status = array(); + $export_list_id = array(); + $export_lead_id = array(); + $export_uniqueid = array(); + $export_vicidial_id = array(); + $export_entry_list_id = array(); + $export_wrapup_time = array(); + $export_queue_time = array(); + $export_user = array(); + $export_rows = array(); + $carrier_dial_log_rows = array(); $k=0; if ($RUNcampaign > 0) { diff --git a/www/vicidial/lead_report_export.php b/www/vicidial/lead_report_export.php index 264758e9..865c2387 100644 --- a/www/vicidial/lead_report_export.php +++ b/www/vicidial/lead_report_export.php @@ -33,6 +33,7 @@ # 180422-0923 - Fix for missing header row in translated language, issue #1090 # 180610-1634 - Added option to allow --ALL-- as a campaign value # 190610-2036 - Fixed admin hide phone issue +# 190926-0926 - Fixes for PHP7 # $startMS = microtime(); @@ -567,6 +568,15 @@ if ($run_export > 0) $outbound_calls=0; $export_rows=''; + $export_status = array(); + $export_list_id = array(); + $export_lead_id = array(); + $export_uniqueid = array(); + $export_vicidial_id = array(); + $export_entry_list_id = array(); + $export_epoch_time = array(); + $export_duplicate_check_line = array(); + $export_rows = array(); $k=0; if ($RUNcampaign > 0) {