Update ivr_menu_edit.php
This commit is contained in:
parent
e62ffa2d15
commit
efa2cd50b4
|
|
@ -266,15 +266,15 @@
|
||||||
$p->add("dialplan_edit", "temp");
|
$p->add("dialplan_edit", "temp");
|
||||||
|
|
||||||
//save to the data
|
//save to the data
|
||||||
$orm = new orm;
|
$database = new database;
|
||||||
//$orm->name('ivr_menus');
|
//$database->name('ivr_menus');
|
||||||
$orm->app_name = 'ivr_menus';
|
$database->app_name = 'ivr_menus';
|
||||||
$orm->app_uuid = 'a5788e9b-58bc-bd1b-df59-fff5d51253ab';
|
$database->app_uuid = 'a5788e9b-58bc-bd1b-df59-fff5d51253ab';
|
||||||
if (strlen($ivr_menu_uuid) > 0) {
|
if (strlen($ivr_menu_uuid) > 0) {
|
||||||
$orm->uuid($ivr_menu_uuid);
|
$database->uuid($ivr_menu_uuid);
|
||||||
}
|
}
|
||||||
$orm->save($array);
|
$database->save($array);
|
||||||
$message = $orm->message;
|
$message = $database->message;
|
||||||
|
|
||||||
//remove the temporary permission
|
//remove the temporary permission
|
||||||
$p->delete("dialplan_add", "temp");
|
$p->delete("dialplan_add", "temp");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue