Update dialplan_edit.php

This commit is contained in:
FusionPBX
2016-10-18 09:21:48 -06:00
committed by GitHub
parent 2e0a872a08
commit 6639f3d989

View File

@@ -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