Small fix for web lead loader
git-svn-id: svn://192.168.202.10@3966 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -1173,7 +1173,8 @@ if ($OK_to_process)
|
|||||||
$stmt="SELECT count(*) from vicidial_lists_fields where list_id='$list_id_override' and field_duplicate!='Y';";
|
$stmt="SELECT count(*) from vicidial_lists_fields where list_id='$list_id_override' and field_duplicate!='Y';";
|
||||||
if ($DB>0) {echo "$stmt\n";}
|
if ($DB>0) {echo "$stmt\n";}
|
||||||
$rslt=mysql_to_mysqli($stmt, $link);
|
$rslt=mysql_to_mysqli($stmt, $link);
|
||||||
$fieldscount_to_print = mysqli_num_rows($rslt);
|
$row=mysqli_fetch_row($rslt);
|
||||||
|
$fieldscount_to_print = $row[0];
|
||||||
|
|
||||||
if ($fieldscount_to_print > 0)
|
if ($fieldscount_to_print > 0)
|
||||||
{
|
{
|
||||||
@@ -2564,7 +2565,8 @@ if (($leadfile) && ($LF_path))
|
|||||||
$stmt="SELECT count(*) from vicidial_lists_fields where list_id='$list_id_override' and field_duplicate!='Y';";
|
$stmt="SELECT count(*) from vicidial_lists_fields where list_id='$list_id_override' and field_duplicate!='Y';";
|
||||||
if ($DB>0) {echo "$stmt\n";}
|
if ($DB>0) {echo "$stmt\n";}
|
||||||
$rslt=mysql_to_mysqli($stmt, $link);
|
$rslt=mysql_to_mysqli($stmt, $link);
|
||||||
$fieldscount_to_print = mysqli_num_rows($rslt);
|
$row=mysqli_fetch_row($rslt);
|
||||||
|
$fieldscount_to_print = $row[0];
|
||||||
if ($fieldscount_to_print > 0)
|
if ($fieldscount_to_print > 0)
|
||||||
{
|
{
|
||||||
$rowx=mysqli_fetch_row($rslt);
|
$rowx=mysqli_fetch_row($rslt);
|
||||||
@@ -3147,4 +3149,4 @@ function check_lead($DB,$link,$list_id,$phone_number,$alt_phone,$address3,$title
|
|||||||
}
|
}
|
||||||
##### END - CHECK LEADS FOR VALID PHONE NUMBER, DUPLICATES AND DNC MATCHES #####
|
##### END - CHECK LEADS FOR VALID PHONE NUMBER, DUPLICATES AND DNC MATCHES #####
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -1121,7 +1121,8 @@ if ($OK_to_process)
|
|||||||
$stmt="SELECT count(*) from vicidial_lists_fields where list_id='$list_id_override' and field_duplicate!='Y';";
|
$stmt="SELECT count(*) from vicidial_lists_fields where list_id='$list_id_override' and field_duplicate!='Y';";
|
||||||
if ($DB>0) {echo "$stmt\n";}
|
if ($DB>0) {echo "$stmt\n";}
|
||||||
$rslt=mysql_to_mysqli($stmt, $link);
|
$rslt=mysql_to_mysqli($stmt, $link);
|
||||||
$fieldscount_to_print = mysqli_num_rows($rslt);
|
$row=mysqli_fetch_row($rslt);
|
||||||
|
$fieldscount_to_print = $row[0];
|
||||||
|
|
||||||
if ($fieldscount_to_print > 0)
|
if ($fieldscount_to_print > 0)
|
||||||
{
|
{
|
||||||
@@ -3279,7 +3280,9 @@ if (($leadfile) && ($LF_path))
|
|||||||
$stmt="SELECT count(*) from vicidial_lists_fields where list_id='$list_id_override' and field_duplicate!='Y';";
|
$stmt="SELECT count(*) from vicidial_lists_fields where list_id='$list_id_override' and field_duplicate!='Y';";
|
||||||
if ($DB>0) {echo "$stmt\n";}
|
if ($DB>0) {echo "$stmt\n";}
|
||||||
$rslt=mysql_to_mysqli($stmt, $link);
|
$rslt=mysql_to_mysqli($stmt, $link);
|
||||||
$fieldscount_to_print = mysqli_num_rows($rslt);
|
$row=mysqli_fetch_row($rslt);
|
||||||
|
$fieldscount_to_print = $row[0];
|
||||||
|
|
||||||
if ($fieldscount_to_print > 0)
|
if ($fieldscount_to_print > 0)
|
||||||
{
|
{
|
||||||
$rowx=mysqli_fetch_row($rslt);
|
$rowx=mysqli_fetch_row($rslt);
|
||||||
|
|||||||
Reference in New Issue
Block a user