From d8e8f1a9eeed2ee2201528c60375ecf59f24fff0 Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 16 Jun 2021 02:44:16 +0000 Subject: [PATCH] Fix for issue #1314, realtime report git-svn-id: svn://192.168.202.10@3456 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php b/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php index c6200ac7..af5a9edf 100644 --- a/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php +++ b/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php @@ -122,10 +122,11 @@ # 200815-0930 - Added agent-paused 10 & 15 minute indicators # 201107-2253 - Added display of parked calls, inbound SLA stats and LIMITED report type # 210314-2040 - Added optional DID Description display for inbound calls +# 210615-2241 - Fix for issue #1314 # -$version = '2.14-107'; -$build = '210314-2040'; +$version = '2.14-108'; +$build = '210615-2241'; header ("Content-type: text/html; charset=utf-8"); @@ -3482,6 +3483,9 @@ if ($talking_to_print > 0) { $n=0; $custphone=''; + $cust_state=''; + $cust_entrydate=''; + $cust_source=''; while ($n < $calls_to_list) { if ( (preg_match("/$VAClead_ids[$n]/", $Alead_id[$j])) and (strlen($VAClead_ids[$n]) == strlen($Alead_id[$j])) and (strlen($VAClead_ids[$n] > 1)) ) @@ -3521,7 +3525,7 @@ if ($talking_to_print > 0) while(mb_strlen($extension, 'utf-8')>14) {$extension = mb_substr("$extension", 0, -1,'utf-8');} } } - + if ($CUSTINFOdisplay>0 && $Alead_id[$j]>0) { $custinfo_stmt="select * from vicidial_list where lead_id='".$Alead_id[$j]."' and phone_number='".$custphone."'";