From d0ed2990833a88f7df3436a05a10e8c95d16b425 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 18 Oct 2016 09:28:23 -0600 Subject: [PATCH] Update call_edit.php --- app/calls/call_edit.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/calls/call_edit.php b/app/calls/call_edit.php index 0805334a2e..1b204ce6fc 100644 --- a/app/calls/call_edit.php +++ b/app/calls/call_edit.php @@ -234,11 +234,11 @@ } //save the data - $orm = new orm; - $orm->app_name = 'call_routing'; - $orm->app_uuid = '19806921-e8ed-dcff-b325-dd3e5da4959d'; - $orm->save($array); - //$message = $orm->message; + $database = new database; + $database->app_name = 'call_routing'; + $database->app_uuid = '19806921-e8ed-dcff-b325-dd3e5da4959d'; + $database->save($array); + //$message = $database->message; //delete empty destination records if (is_array($follow_me_delete_uuids) && sizeof($follow_me_delete_uuids) > 0) {