From ba35b7042d906d28c7a8a559d8aeedc028f9ffc8 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 18 Oct 2016 09:37:26 -0600 Subject: [PATCH] Update call_flow_edit.php --- app/call_flows/call_flow_edit.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/call_flows/call_flow_edit.php b/app/call_flows/call_flow_edit.php index bfde4608f3..79b32fbc8d 100644 --- a/app/call_flows/call_flow_edit.php +++ b/app/call_flows/call_flow_edit.php @@ -194,15 +194,15 @@ $p->add("dialplan_edit", "temp"); //save to the data - $orm = new orm; - //$orm->name('call_flows'); - $orm->app_name = 'call_flows'; - $orm->app_uuid = 'b1b70f85-6b42-429b-8c5a-60c8b02b7d14'; + $database = new database; + //$database->name('call_flows'); + $database->app_name = 'call_flows'; + $database->app_uuid = 'b1b70f85-6b42-429b-8c5a-60c8b02b7d14'; if (strlen($call_flow_uuid) > 0) { - $orm->uuid($call_flow_uuid); + $database->uuid($call_flow_uuid); } - $orm->save($array); - $message = $orm->message; + $database->save($array); + $message = $database->message; //remove the temporary permission $p->delete("dialplan_add", "temp");