added state change time update to second pause code submission

git-svn-id: svn://192.168.202.10@1355 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2010-03-02 14:05:13 +00:00
parent ab58137840
commit 605fdc19ec
13 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -6188,7 +6188,7 @@ if ($ACTION == 'PauseCodeSubmit')
$affected_rows = mysql_affected_rows($link);
$agent_log_id = mysql_insert_id($link);
$stmt="UPDATE vicidial_live_agents SET agent_log_id='$agent_log_id' where user='$user';";
$stmt="UPDATE vicidial_live_agents SET agent_log_id='$agent_log_id',last_state_change='$NOW_TIME' where user='$user';";
if ($DB) {echo "$stmt\n";}
$rslt=mysql_query($stmt, $link);
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00308',$VD_login,$server_ip,$session_name,$one_mysql_log);}