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:
mattf
2010-01-26 15:50:42 +00:00
parent 7c5ead0315
commit ce0893c44d
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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);
+2 -2
View File
@@ -210,8 +210,8 @@ echo " &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $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
{