small bug fix to vcd_db_query.php

git-svn-id: svn://192.168.202.10@106 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2006-08-02 01:51:27 +00:00
parent 8bc123fb43
commit 390a1ada24
+1 -1
View File
@@ -372,7 +372,7 @@ if ($ACTION == 'manDiaLnextCaLL')
$affected_rows=1;
$CBleadIDset=1;
$stmt = "UPDATE vicidial_callbacks set status='INACTIVE' where lead_id='$lead_id';";
$stmt = "UPDATE vicidial_callbacks set status='INACTIVE' where lead_id='$lead_id' and status NOT IN('INACTIVE','DEAD','ARCHIVE');";
if ($DB) {echo "$stmt\n";}
$rslt=mysql_query($stmt, $link);
}