Update ivr_menu_edit.php
This commit is contained in:
parent
f9d60fd94c
commit
c9f4d0148f
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2018
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2019
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
|
|
@ -111,10 +111,8 @@
|
|||
if (permission_exists('ivr_menu_context')) {
|
||||
$ivr_menu_context = check_str($_POST["ivr_menu_context"]);
|
||||
}
|
||||
else {
|
||||
if ($action == 'add') {
|
||||
$ivr_menu_context = $_SESSION['domain_name'];
|
||||
}
|
||||
elseif ($action == 'add') {
|
||||
$ivr_menu_context = $_SESSION['domain_name'];
|
||||
}
|
||||
|
||||
//process the values
|
||||
|
|
@ -387,10 +385,10 @@
|
|||
$ivr_menu_context = $row["ivr_menu_context"];
|
||||
$ivr_menu_enabled = $row["ivr_menu_enabled"];
|
||||
$ivr_menu_description = $row["ivr_menu_description"];
|
||||
|
||||
|
||||
//replace the dash with a space
|
||||
$ivr_menu_name = str_replace("-", " ", $ivr_menu_name);
|
||||
|
||||
|
||||
if (strlen($ivr_menu_exit_app) > 0) {
|
||||
$ivr_menu_exit_action = $ivr_menu_exit_app.":".$ivr_menu_exit_data;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue