From 149f4faa893a68abd5b7d3460c2f6f7bc862d89d Mon Sep 17 00:00:00 2001 From: mattf Date: Thu, 1 Nov 2007 06:17:35 +0000 Subject: [PATCH] fixed bug in web lead loader perl scripts, bug 140 git-svn-id: svn://192.168.202.10@704 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/www/vicidial/listloader.pl | 2 +- agc_2-X/trunk/www/vicidial/listloader_super.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/agc_2-X/trunk/www/vicidial/listloader.pl b/agc_2-X/trunk/www/vicidial/listloader.pl index 1e369f61..d926368b 100644 --- a/agc_2-X/trunk/www/vicidial/listloader.pl +++ b/agc_2-X/trunk/www/vicidial/listloader.pl @@ -276,7 +276,7 @@ foreach $oWkS (@{$oBook->{Worksheet}}) { if ($dupcheck > 0) { $dup_lead=0; - $stmtA = "select llst_id from vicidial_list where phone_number='$phone_number' and list_id='$list_id' limit 1;"; + $stmtA = "select list_id from vicidial_list where phone_number='$phone_number' and list_id='$list_id' limit 1;"; if($DBX){print STDERR "\n|$stmtA|\n";} $sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr; $sthA->execute or die "executing: $stmtA ", $dbhA->errstr; diff --git a/agc_2-X/trunk/www/vicidial/listloader_super.pl b/agc_2-X/trunk/www/vicidial/listloader_super.pl index 006aed5c..167fff5e 100644 --- a/agc_2-X/trunk/www/vicidial/listloader_super.pl +++ b/agc_2-X/trunk/www/vicidial/listloader_super.pl @@ -278,7 +278,7 @@ foreach $oWkS (@{$oBook->{Worksheet}}) { if ($dupcheck > 0) { $dup_lead=0; - $stmtA = "select llst_id from vicidial_list where phone_number='$phone_number' and list_id='$list_id' limit 1;"; + $stmtA = "select list_id from vicidial_list where phone_number='$phone_number' and list_id='$list_id' limit 1;"; if($DBX){print STDERR "\n|$stmtA|\n";} $sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr; $sthA->execute or die "executing: $stmtA ", $dbhA->errstr;