From 93092bb0e0f27af310063491677b8a040dfd5892 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Thu, 20 Feb 2014 23:56:45 +0000 Subject: [PATCH] Update the redirect for dialplan_detail_delete.php --- app/dialplan/dialplan_detail_delete.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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