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:
@@ -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';";
|
||||
if ($DB>0) {echo "$stmt\n";}
|
||||
$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)
|
||||
{
|
||||
@@ -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';";
|
||||
if ($DB>0) {echo "$stmt\n";}
|
||||
$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)
|
||||
{
|
||||
$rowx=mysqli_fetch_row($rslt);
|
||||
|
||||
Reference in New Issue
Block a user