From 1f5af1df386e98c3d4f5bd1ae9d3e312b56afedf Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 18 Oct 2016 09:31:37 -0600 Subject: [PATCH] Update call_center_agent_edit.php --- app/call_centers/call_center_agent_edit.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/call_centers/call_center_agent_edit.php b/app/call_centers/call_center_agent_edit.php index d4dcf1acb3..28dcf77fbf 100644 --- a/app/call_centers/call_center_agent_edit.php +++ b/app/call_centers/call_center_agent_edit.php @@ -229,15 +229,15 @@ $array['users'][0]['user_status'] = $agent_status; //save to the data - $orm = new orm; + $database = new database; //$orm->name('call_center_agents'); - $orm->app_name = 'call_center_agents'; - $orm->app_uuid = null; + $database->app_name = 'call_center_agents'; + $database->app_uuid = null; if (strlen($call_center_agent_uuid) > 0) { - $orm->uuid($call_center_agent_uuid); + $database->uuid($call_center_agent_uuid); } - $orm->save($array); - $message = $orm->message; + $database->save($array); + $message = $database->message; //syncrhonize configuration save_call_center_xml();