Update ivr_menu_copy.php

This commit is contained in:
FusionPBX
2016-10-23 10:44:35 -06:00
committed by GitHub
parent cb2e0df06c
commit 2a5246fe41

View File

@@ -96,8 +96,9 @@
$y = 0;
foreach ($ivr_menu_options as &$row) {
//update the ivr_menu_uuid
//update the uuids
$row['ivr_menu_uuid'] = $ivr_menu_uuid;
$row['ivr_menu_option_uuid'] = uuid();
//add the row to the array
$ivr_menus[$x]["ivr_menu_options"][$y] = $row;
@@ -150,7 +151,7 @@
if (strlen($ivr_menu_uuid) > 0) {
$database->uuid($ivr_menu_uuid);
}
$orm->save($array);
$database->save($array);
$message = $database->message;
//remove the temporary permission