Update ivr_menu_edit.php

This commit is contained in:
FusionPBX 2019-07-13 09:23:48 -06:00 committed by GitHub
parent f9d60fd94c
commit c9f4d0148f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 7 deletions

View File

@ -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,11 +111,9 @@
if (permission_exists('ivr_menu_context')) {
$ivr_menu_context = check_str($_POST["ivr_menu_context"]);
}
else {
if ($action == 'add') {
elseif ($action == 'add') {
$ivr_menu_context = $_SESSION['domain_name'];
}
}
//process the values
$ivr_menu_exit_action = check_str($_POST["ivr_menu_exit_action"]);