From 24332e0632a01efbeac3a7b2ffdda3ae9ae89761 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 18 Oct 2016 09:30:26 -0600 Subject: [PATCH] Update call_center_queue_edit.php --- app/call_centers/call_center_queue_edit.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/call_centers/call_center_queue_edit.php b/app/call_centers/call_center_queue_edit.php index 2d0ce1c2e4..2204b8d909 100644 --- a/app/call_centers/call_center_queue_edit.php +++ b/app/call_centers/call_center_queue_edit.php @@ -260,12 +260,12 @@ $p->add("dialplan_edit", "temp"); //save to the data - $orm = new orm; - $orm->name('call_center_queues'); - $orm->app_name = 'call_centers'; - $orm->app_uuid = '95788e50-9500-079e-2807-fd530b0ea370'; - $orm->save($array); - $message = $orm->message; + $database = new database; + $database->name('call_center_queues'); + $database->app_name = 'call_centers'; + $database->app_uuid = '95788e50-9500-079e-2807-fd530b0ea370'; + $database->save($array); + $message = $database->message; //remove the temporary permission $p->delete("dialplan_add", "temp");