mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-26 10:15:43 +00:00
Update ivr_menu_edit.php
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user