fixed non-agent API issue
fixed links in DID call stats page git-svn-id: svn://192.168.202.10@1319 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -1256,7 +1256,7 @@ if ($function == 'add_lead')
|
||||
$duplicate_lists .= "'$row[0]',";
|
||||
$L++;
|
||||
}
|
||||
$duplicate_lists = eregi_replace(",$",'',$dup_lists);
|
||||
$duplicate_lists = eregi_replace(",$",'',$duplicate_lists);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1288,7 +1288,7 @@ if ($function == 'add_lead')
|
||||
}
|
||||
if (eregi("DUPCAMP",$duplicate_check)) # duplicate check within campaign lists
|
||||
{
|
||||
if ($DB>0) {echo "DEBUG: Checking for duplicates - DUPCAMP\n";}
|
||||
if ($DB>0) {echo "DEBUG: Checking for duplicates - DUPCAMP - $duplicate_lists\n";}
|
||||
$duplicate_found=0;
|
||||
$stmt="SELECT lead_id,list_id from vicidial_list where phone_number='$phone_number' and list_id IN($duplicate_lists) limit 1;";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
@@ -1256,7 +1256,7 @@ if ($function == 'add_lead')
|
||||
$duplicate_lists .= "'$row[0]',";
|
||||
$L++;
|
||||
}
|
||||
$duplicate_lists = eregi_replace(",$",'',$dup_lists);
|
||||
$duplicate_lists = eregi_replace(",$",'',$duplicate_lists);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1288,7 +1288,7 @@ if ($function == 'add_lead')
|
||||
}
|
||||
if (eregi("DUPCAMP",$duplicate_check)) # duplicate check within campaign lists
|
||||
{
|
||||
if ($DB>0) {echo "DEBUG: Checking for duplicates - DUPCAMP\n";}
|
||||
if ($DB>0) {echo "DEBUG: Checking for duplicates - DUPCAMP - $duplicate_lists\n";}
|
||||
$duplicate_found=0;
|
||||
$stmt="SELECT lead_id,list_id from vicidial_list where phone_number='$phone_number' and list_id IN($duplicate_lists) limit 1;";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
@@ -210,8 +210,8 @@ echo " $user - $full_name<BR><BR>\n";
|
||||
echo "<center>\n";
|
||||
if ($did > 0)
|
||||
{
|
||||
echo "<a href=\"./AST_DIDstats.php?group[0]=$did_id\">DID traffic report</a>\n";
|
||||
echo " | <a href=\"./admin.php?ADD=33111&did_id=$did_id\">Modify DID</a>\n";
|
||||
echo "<a href=\"./AST_DIDstats.php?group[0]=$did_id&query_date=$begin_date&end_date=$end_date\">DID traffic report</a>\n";
|
||||
echo " | <a href=\"./admin.php?ADD=3311&did_id=$did_id\">Modify DID</a>\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user