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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user