added meta update block again, since was causing issues like duplicate ivr_menus, one per each option added. (let it be this way until Mark decides how the new pattern will work)

This commit is contained in:
Nuno Miguel Reis
2014-01-24 06:38:46 +00:00
parent 977ef8a37b
commit 8be46305a0

View File

@@ -285,6 +285,16 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
$switch_cmd = "memcache delete dialplan:".$_SESSION["context"];
$switch_result = event_socket_request($fp, 'api '.$switch_cmd);
}
//redirect the user
require_once "resources/header.php";
echo "<meta http-equiv=\"refresh\" content=\"0;url=ivr_menu_edit.php?id=$ivr_menu_uuid\">\n";
echo "<div align='center'>\n";
echo $text['message-update']."\n";
echo "</div>\n";
require_once "resources/footer.php";
return;
} //if ($_POST["persistformvar"] != "true")
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)