diff --git a/app/call_centers/call_center_agent_status.php b/app/call_centers/call_center_agent_status.php index 22af1e54b9..5e076d8dc2 100644 --- a/app/call_centers/call_center_agent_status.php +++ b/app/call_centers/call_center_agent_status.php @@ -66,6 +66,7 @@ //get the http post values and set them as php variables if (count($_POST) > 0) { + foreach($_POST['agents'] as $row) { if (strlen($row['agent_status']) > 0) { //agent set status @@ -265,10 +266,10 @@ $html .= " \n"; $html .= "