Update ivr_menu_edit.php

This commit is contained in:
FusionPBX 2019-07-13 09:40:52 -06:00 committed by GitHub
parent 8bd4b2a42c
commit aaee3110a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -58,6 +58,7 @@
}
else {
$action = "add";
$ivr_menu_uuid = uuid();
}
//get total ivr menu count from the database, check limit, if defined
@ -233,8 +234,7 @@
}
//add a uuid to ivr_menu_uuid if it is empty
if (strlen($ivr_menu_uuid) == 0) {
$ivr_menu_uuid = uuid();
if ($action = 'add') {
$_POST["ivr_menu_uuid"] = $ivr_menu_uuid;
}