Update the redirect for dialplan_detail_delete.php

This commit is contained in:
Mark Crane
2014-02-20 23:56:45 +00:00
parent df3dd784b5
commit 93092bb0e0
+6 -7
View File
@@ -71,12 +71,11 @@ else {
} }
} }
//redirect the user //save the message to a session variable
require_once "resources/header.php"; $_SESSION['message'] = $text['message-delete'];
echo "<meta http-equiv=\"refresh\" content=\"0;url=dialplan_edit.php?id=".$dialplan_uuid."&app_uuid=".$app_uuid."\">\n";
echo "<div align='center'>\n"; //redirect the browser
echo $text['message-delete']."\n"; header("Location: dialplan_edit.php?id=".$dialplan_uuid."&app_uuid=".$app_uuid);
echo "</div>\n"; exit;
require_once "resources/footer.php";
?> ?>