diff --git a/www/vicidial/listloader.pl b/www/vicidial/listloader.pl index 1e369f61..d926368b 100644 --- a/www/vicidial/listloader.pl +++ b/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/www/vicidial/listloader_super.pl b/www/vicidial/listloader_super.pl index 006aed5c..167fff5e 100644 --- a/www/vicidial/listloader_super.pl +++ b/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;