Remove the call to the save_ivr_menu_xml function.
This commit is contained in:
@@ -203,13 +203,8 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||||||
|
|
||||||
//add the data
|
//add the data
|
||||||
if ($action == "add" && permission_exists('ivr_menu_add')) {
|
if ($action == "add" && permission_exists('ivr_menu_add')) {
|
||||||
$ivr->add();
|
//run the add method in the ivr menu class
|
||||||
|
$ivr->add();
|
||||||
//synchronize the xml config
|
|
||||||
save_ivr_menu_xml();
|
|
||||||
|
|
||||||
//synchronize the xml config
|
|
||||||
save_dialplan_xml();
|
|
||||||
|
|
||||||
//redirect the user
|
//redirect the user
|
||||||
require_once "includes/header.php";
|
require_once "includes/header.php";
|
||||||
@@ -222,14 +217,9 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||||||
}
|
}
|
||||||
//update the data
|
//update the data
|
||||||
if ($action == "update" && permission_exists('ivr_menu_edit')) {
|
if ($action == "update" && permission_exists('ivr_menu_edit')) {
|
||||||
$ivr->ivr_menu_uuid = $ivr_menu_uuid;
|
//run the update method in the ivr menu class
|
||||||
$ivr->update();
|
$ivr->ivr_menu_uuid = $ivr_menu_uuid;
|
||||||
|
$ivr->update();
|
||||||
//synchronize the xml config
|
|
||||||
save_ivr_menu_xml();
|
|
||||||
|
|
||||||
//synchronize the xml config
|
|
||||||
save_dialplan_xml();
|
|
||||||
|
|
||||||
//redirect the user
|
//redirect the user
|
||||||
require_once "includes/header.php";
|
require_once "includes/header.php";
|
||||||
|
|||||||
Reference in New Issue
Block a user