Update dialplan_edit.php
This commit is contained in:
parent
d84675e9ba
commit
9ace1a3a39
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue