From 6639f3d9892c7dd123270171bda1013c2b1c6f6c Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 18 Oct 2016 09:21:48 -0600 Subject: [PATCH] Update dialplan_edit.php --- app/dialplan/dialplan_edit.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/dialplan/dialplan_edit.php b/app/dialplan/dialplan_edit.php index c07f99a0a7..32597b9c57 100644 --- a/app/dialplan/dialplan_edit.php +++ b/app/dialplan/dialplan_edit.php @@ -170,13 +170,13 @@ //add or update the database if ($_POST["persistformvar"] != "true") { - $orm = new orm; - $orm->name('dialplans'); - $orm->app_name = 'dialplans'; - $orm->app_uuid = $app_uuid; - $orm->uuid($dialplan_uuid); - $orm->save($array); - //$message = $orm->message; + $database = new database; + $database->name('dialplans'); + $database->app_name = 'dialplans'; + $database->app_uuid = $app_uuid; + $database->uuid($dialplan_uuid); + $database->save($array); + //$message = $database->message; } //update the dialplan xml