Update ivr_menu_edit.php
This commit is contained in:
@@ -58,6 +58,7 @@
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$action = "add";
|
$action = "add";
|
||||||
|
$ivr_menu_uuid = uuid();
|
||||||
}
|
}
|
||||||
|
|
||||||
//get total ivr menu count from the database, check limit, if defined
|
//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
|
//add a uuid to ivr_menu_uuid if it is empty
|
||||||
if (strlen($ivr_menu_uuid) == 0) {
|
if ($action = 'add') {
|
||||||
$ivr_menu_uuid = uuid();
|
|
||||||
$_POST["ivr_menu_uuid"] = $ivr_menu_uuid;
|
$_POST["ivr_menu_uuid"] = $ivr_menu_uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user