From 19e914c422d970c0225d8e19e8231e23a4e483e9 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 22 Oct 2016 23:07:14 -0600 Subject: [PATCH] Update dialplan_xml.php --- app/dialplan/dialplan_xml.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/app/dialplan/dialplan_xml.php b/app/dialplan/dialplan_xml.php index 7cc842f3cc..41467e74f1 100644 --- a/app/dialplan/dialplan_xml.php +++ b/app/dialplan/dialplan_xml.php @@ -84,15 +84,14 @@ $array['dialplans'][$x]["dialplan_xml"] = $_REQUEST['dialplan_xml'];; //save to the data - $orm = new orm; - //$orm->name('ring_groups'); - $orm->app_name = 'dialplans'; - $orm->app_uuid = $app_uuid; + $database = new database; + $database->app_name = 'dialplans'; + $database->app_uuid = $app_uuid; //if (strlen($dialplan_uuid) > 0) { - // $orm->uuid($dialplan_uuid); + // $database->uuid($dialplan_uuid); //} - $orm->save($array); - $message = $orm->message; + $database->save($array); + $message = $database->message; //debug info //echo "
\n";