From 9f110688a8f7c1b5dba931d268eba69bbec1bde3 Mon Sep 17 00:00:00 2001 From: mattf Date: Thu, 22 Dec 2016 12:36:48 +0000 Subject: [PATCH] Fixed issue with Scheduled Callbacks with tilde'~' in text fields git-svn-id: svn://192.168.202.10@2650 3d104415-ff17-0410-8863-d5cf3c621b8a --- www/agc/vdc_db_query.php | 8 +++++--- www/agc/vicidial.php | 7 ++++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/www/agc/vdc_db_query.php b/www/agc/vdc_db_query.php index 1462dbb0..3fbf938c 100644 --- a/www/agc/vdc_db_query.php +++ b/www/agc/vdc_db_query.php @@ -416,10 +416,11 @@ # 161101-2103 - Added user overall new lead limit # 161102-1044 - Fixed QM partition problem # 161117-0622 - Fixes for rare vicidial_log and recording_log issues +# 161222-0728 - Fixed issue with Scheduled Callbacks with tilde'~' in text fields # -$version = '2.12-310'; -$build = '161117-0622'; +$version = '2.14-311'; +$build = '161222-0728'; $php_script = 'vdc_db_query.php'; $mel=1; # Mysql Error Log enabled = 1 $mysql_log_count=658; @@ -14756,7 +14757,8 @@ if ($ACTION == 'CalLBacKLisT') $PHONEdialable = dialable_gmt($DB,$link,$local_call_time,$row[3],$row[4]); } } - echo "$row[0] ~$row[1] ~$row[2] ~$callback_id[$loop_count] ~$lead_id[$loop_count] ~$campaign_id[$loop_count] ~$status[$loop_count] ~$entry_time[$loop_count] ~$callback_time[$loop_count] ~$comments[$loop_count] ~$PHONEdialable\n"; + $CBoutput = "$row[0]-!T-$row[1]-!T-$row[2]-!T-$callback_id[$loop_count]-!T-$lead_id[$loop_count]-!T-$campaign_id[$loop_count]-!T-$status[$loop_count]-!T-$entry_time[$loop_count]-!T-$callback_time[$loop_count]-!T-$comments[$loop_count]-!T-$PHONEdialable"; + echo "$CBoutput\n"; $loop_count++; } diff --git a/www/agc/vicidial.php b/www/agc/vicidial.php index fb42ac86..8c1d45ae 100644 --- a/www/agc/vicidial.php +++ b/www/agc/vicidial.php @@ -534,10 +534,11 @@ # 161117-1532 - Changed default main screen logo background color to white(screen color standard row 5) # 161126-2152 - Release of 2.13 stable branch and raising trunk to 2.14 # 161217-0826 - Added debug logging of dead call trigger +# 161222-0727 - Fixed issue with Scheduled Callbacks with tilde'~' in text fields # -$version = '2.14-504c'; -$build = '161217-0826'; +$version = '2.14-505c'; +$build = '161222-0727'; $mel=1; # Mysql Error Log enabled = 1 $mysql_log_count=87; $one_mysql_log=0; @@ -6984,7 +6985,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection) else {var row_color = '#CCCCFF';} var conv_ct = (loop_ct + conv_start); - var call_array = all_CBs_array[conv_ct].split(" ~"); + var call_array = all_CBs_array[conv_ct].split("-!T-"); var CB_name = call_array[0] + " " + call_array[1]; var CB_phone = call_array[2]; var CB_id = call_array[3];