From 390a1ada2465e37ae762a2207daaece7efee7822 Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 2 Aug 2006 01:51:27 +0000 Subject: [PATCH] small bug fix to vcd_db_query.php git-svn-id: svn://192.168.202.10@106 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc/vdc_db_query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agc/vdc_db_query.php b/agc/vdc_db_query.php index 6809e11..7dce226 100644 --- a/agc/vdc_db_query.php +++ b/agc/vdc_db_query.php @@ -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); }