From 1850e6b652544a39e8d71866d9377b3cb8807790 Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 31 May 2017 12:41:40 +0000 Subject: [PATCH] Fixed issue #1019 AST_VDhopper.pl git-svn-id: svn://192.168.202.10@2763 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/bin/AST_VDhopper.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/agc_2-X/trunk/bin/AST_VDhopper.pl b/agc_2-X/trunk/bin/AST_VDhopper.pl index 86590a8d..a9f20dd2 100644 --- a/agc_2-X/trunk/bin/AST_VDhopper.pl +++ b/agc_2-X/trunk/bin/AST_VDhopper.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# AST_VDhopper.pl version 2.12 +# AST_VDhopper.pl version 2.14 # # DESCRIPTION: # Updates the VICIDIAL leads hopper for the streamlined approach of allocating @@ -87,10 +87,11 @@ # 150717-1050 - Added force index to some vicidial_list queries, set with $VLforce_index variable # 150728-1050 - Added option for secondary sorting by vendor_lead_code, Issue #833 # 150908-1544 - Added debug output for vendor_lead_code duplicate rejections count +# 170531-0837 - Fixed issue #1019 # # constants -$build = '150908-1544'; +$build = '170531-0837'; $DB=0; # Debug flag, set to 0 for no debug messages. Can be overriden with CLI --debug flag $US='__'; $MT[0]=''; @@ -518,7 +519,7 @@ if ($CBHOLD_count > 0) $event_string = "|CALLBACKS LISTACT|$affected_rows|"; &event_logger; - $stmtA = "INSERT INTO $vicidial_hopper SET lead_id='$CA_lead_id[$CAu]',campaign_id='$CA_campaign_id[$CAu]',list_id='$CA_list_id[$CAu]',gmt_offset_now='$CA_gmt_offset_now[$CAu]',user='',state='$CA_state[$CAu]',priority='50',source='C',vendor_lead_code=\"$CA_vendor_lead_code[$cba]\";"; + $stmtA = "INSERT INTO $vicidial_hopper SET lead_id='$CA_lead_id[$CAu]',campaign_id='$CA_campaign_id[$CAu]',list_id='$CA_list_id[$CAu]',gmt_offset_now='$CA_gmt_offset_now[$CAu]',user='',state='$CA_state[$CAu]',priority='50',source='C',vendor_lead_code=\"$CA_vendor_lead_code[$CAu]\";"; $affected_rows = $dbhA->do($stmtA); if ($DB) {print "ANYONE Scheduled Callback Inserted into hopper: $affected_rows|$CA_lead_id[$CAu]\n";} $CAu++;