diff --git a/app/dialplan/dialplan_detail_delete.php b/app/dialplan/dialplan_detail_delete.php index 0273a8eac3..24dbc22841 100644 --- a/app/dialplan/dialplan_detail_delete.php +++ b/app/dialplan/dialplan_detail_delete.php @@ -71,12 +71,11 @@ else { } } -//redirect the user - require_once "resources/header.php"; - echo "\n"; - echo "
\n"; - echo $text['message-delete']."\n"; - echo "
\n"; - require_once "resources/footer.php"; +//save the message to a session variable + $_SESSION['message'] = $text['message-delete']; + +//redirect the browser + header("Location: dialplan_edit.php?id=".$dialplan_uuid."&app_uuid=".$app_uuid); + exit; ?> \ No newline at end of file